Answers for "add download directory selenium python"

0

add download directory selenium python

chromeOptions = webdriver.ChromeOptions()
prefs = {"download.default_directory" : "/some/path"}
chromeOptions.add_experimental_option("prefs",prefs)
chromedriver = "path/to/chromedriver.exe"
driver = webdriver.Chrome(executable_path=chromedriver, chrome_options=chromeOptions)
Posted by: Guest on June-03-2021

Code answers related to "add download directory selenium python"

Python Answers by Framework

Browse Popular Code Answers by Language