Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from selenium import webdriver
- from selenium.webdriver.common.keys import Keys
- driver = webdriver.Chrome()
- driver.get("https://google.ru/")
- FILE_NAME_PROFILE = r'C:UserspcAppDataLocalGoogleChromeUser Data'
- from selenium import webdriver
- options = webdriver.ChromeOptions()
- options.add_argument("user-data-dir=" + FILE_NAME_PROFILE)
- w = webdriver.Chrome(executable_path="C:\Users\chromedriver.exe", chrome_options=options)
Add Comment
Please, Sign In to add comment