Expose ChromeOptions
See original GitHub issueIs your feature request related to a problem? Please describe. I’ve found myself in a position where I need to set some chrome options before execution. Specifically the “Download PDF files instead of automatically opening them in Chrome” option.
Describe the solution you’d like It would be really nice if this could be configurable prior to running the test.
Describe alternatives you’ve considered
Right now, I navigate to the screen for the test by doing url chrome://settings/content/pdfDocuments?search=pdf
and then prompting to turn it on before continuing. While this works okay, it’s not fully automated.
Additional context If Selenium exposes more ChromeOptions I would like to see those available as well to optimize specific tests in the future. Mostly just focused on the pdf download option now.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
Found it! Thanks again!
This SO article helped as well.
Haha! yes, thank you. The documentation page has been a bookmark bar button for the past week. I’m just trying to comb through it to find out how to set this up.