0

I'm using python and selenium to open a website and do something, but Chrome opens in incognito mode. I want to open in my user profile. How can I do this? (I'm using Ubuntu).

Code:

from selenium import webdriver
chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument("--WHAT_HERE???")
chromedriver = "path_for_chromedriver"
driver = webdriver.Chrome(chromedriver)
driver.get("LINK")
Phix
  • 9,364
  • 4
  • 35
  • 62
  • https://groups.google.com/forum/#!topic/selenium-users/CL8kdxhgdj0 – Chris May 29 '20 at 21:44
  • 3
    Does this answer your question? [How to load default profile in chrome using Python Selenium Webdriver?](https://stackoverflow.com/questions/31062789/how-to-load-default-profile-in-chrome-using-python-selenium-webdriver) – Vector May 29 '20 at 21:54

0 Answers0