New issue
Advanced search Search tips

Issue 637886 link

Starred by 3 users

Issue metadata

Status: Untriaged
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Feature



Sign in to add a comment

Command line flag to grant permissions for testing

Project Member Reported by dandv@google.com, Aug 15 2016

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36

Steps to reproduce the problem:
Use case: automating testing of features that require manual user permission:

* web cam access
* push notifications
* desktop notifications

For automating tests, it would be great if Chrome could take a CLI flag that enabled given permissions.

What is the expected behavior?

What went wrong?
No way to bypass permission prompts is a big hindrance for test automation.

Did this work before? N/A 

Chrome version: 52.0.2743.116  Channel: stable
OS Version: OS X 10.11.6
Flash Version: Shockwave Flash 22.0 r0
 

Comment 1 by owe...@chromium.org, Aug 15 2016

Components: Security
Labels: -Type-Bug -Via-Wizard -OS-Mac OS-All Type-Feature
Summary: Command line flag to grant permissions for testing (was: Command line flag to grant permissions)

Comment 2 by mcasas@chromium.org, Aug 15 2016

There's a flag for bypassing permission request for capture devices [1]
that {c,sh}ould be merged into this uber-flag.

[1] https://cs.chromium.org/chromium/src/content/public/common/content_switches.cc?q=switches+usefakeuiformediastream&sq=package:chromium&l=872&dr=CSs


Project Member

Comment 3 by sheriffbot@chromium.org, Aug 16 2016

Labels: Hotlist-Google
Status: Untriaged (was: Unconfirmed)
Marking it as Untiraged as it is a feature request.

Sign in to add a comment