Menu
Active8 months ago
Selenium is one of the automation testing tools which is an open source tool. Selenium automates web application. In this Free Selenium training tutorial, we cover all Selenium concepts (basic selenium scripts to advanced testing framework) in detail with easy to understand practical examples.
I am trying to change settings for Chrome driver so that it allows me to do both of the following:
- It doesn't give me a popup (as discussed here).
- It allows me to change the download directory and settings (as discussed here).
Although both the solutions work phenomenally in isolation, my attempts to combine them have failed disastrously. Below are the two isolated part solutions. Appreciate any help here.
Code 1:
Code 2:
Ratmir Asanov3,87533 gold badges1313 silver badges2727 bronze badges
RUNRUN
1 Answer
You can convert options to desired capabilities and pass it to the
desired_capabilities
parameter during creation of driver:Hope it helps you! Check license plate for tickets.
Ratmir AsanovRatmir Asanov3,87533 gold badges1313 silver badges2727 bronze badges
Not the answer you're looking for? Browse other questions tagged pythonseleniumwebdriverselenium-chromedriverwebautomation or ask your own question.
Active8 months ago
I am trying to change settings for Chrome driver so that it allows me to do both of the following:
- It doesn't give me a popup (as discussed here).
- It allows me to change the download directory and settings (as discussed here).
Although both the solutions work phenomenally in isolation, my attempts to combine them have failed disastrously. Below are the two isolated part solutions. Appreciate any help here.
Code 1:
Code 2:
Ratmir Asanov3,87533 gold badges1313 silver badges2727 bronze badges
RUNRUN
1 Answer
You can convert options to desired capabilities and pass it to the
desired_capabilities
parameter during creation of driver:Hope it helps you!
Ratmir AsanovRatmir AsanovTutorialspoint Selenium Webdriver Server
3,87533 gold badges1313 silver badges2727 bronze badges