Answers for "how to download the source files directory of a site python selenium"

2

how to set chrome options python selenium for a folder

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 August-04-2020

Code answers related to "how to download the source files directory of a site python selenium"

Python Answers by Framework

Browse Popular Code Answers by Language