Groups
Groups
Sign in
Groups
Groups
Selenium Users
Conversations
Labels
About
Send feedback
Help
Is it possible to set autoplay-policy with chromeoptions.
415 views
Skip to first unread message
sridhar249
unread,
Jul 11, 2018, 5:16:35 PM
7/11/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Selenium Users
Open google chrome.
Go to chrome://flags/#autoplay-policy
Notice that auto play policy will set to Default.
I would like to know if we can pass the value for auto play policy to be "No user gesture is required" through chromeoptions.
I found this question, which is the same:
https://github.com/SeleniumHQ/selenium/issues/5477
, but could not find a solution.
Please help.
advanceau...@gmail.com
unread,
Jul 11, 2018, 6:51:38 PM
7/11/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Selenium Users
Below are the sites with all options listed out.. hope you can find what you are looking for.
https://sites.google.com/a/chromium.org/chromedriver/capabilities
https://peter.sh/experiments/chromium-command-line-switches/
sridhar249
unread,
Jul 12, 2018, 12:00:51 PM
7/12/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Selenium Users
Thanks for the links.
I found the option that i am looking for in this link:
https://peter.sh/experiments/chromium-command-line-switches/
The option is:
--no-user-gesture-required
Reply all
Reply to author
Forward
0 new messages