1

You guys know how google keeps you signed into different websites? how come whenever I use Selenium/Chrome driver and have it go to a website I'm already signed into, it is like im a fresh user and I have to have Selenium go through the work of signing in, which in some cases I cant because some websites block me from signing in with selenium because they know I'm using a bot.

drakepolo
  • 25
  • 5

1 Answers1

2

Google keeps you signed into different websites through your Default profile.

Where as Selenium driven ChromeDriver initiated Browsing Context is opened everytime with a newly crated temporary profile.

undetected Selenium
  • 183,867
  • 41
  • 278
  • 352
  • 2
    Is there a way for me to open it through my Default Profile?? – drakepolo Nov 17 '21 at 23:19
  • 3
    Of-coarse there are certain ways. Check [this](https://stackoverflow.com/questions/52394408/how-to-use-chrome-profile-in-selenium-webdriver-python-3/52399027#52399027), [this](https://stackoverflow.com/questions/49270109/how-to-open-a-chrome-profile-through-python/49280195#49280195) and [this](https://stackoverflow.com/questions/50635087/how-to-open-a-chrome-profile-through-user-data-dir-argument-of-selenium/50637211#50637211) discussion. – undetected Selenium Nov 17 '21 at 23:22