-1

Looking for python script to actually enable/disable chrome pop up ( Ask me where to download ) option in chrome settings menu. I think it can be done with selenium but not able to find it. Help would be appreciated. :)

1

1 Answer 1

1

Use following Code :

options = webdriver.ChromeOptions()
prefs = {'download.prompt_for_download': True,
         'download.directory_upgrade': True
         }

options.add_experimental_option('prefs', prefs)
driver = webdriver.Chrome('chromedriver.exe', chrome_options=options)
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.