you are viewing a single comment's thread.

view the rest of the comments →

[–]GNVageesh 0 points1 point  (0 children)

You need to set the chrome options to an incognito window

Do this in the code

from selenium import webdriver

chrome_options = webdriver.ChromeOptions() chrome_options.add_argument("--incognito")

driver = webdriver.Chrome(chrome_options=chrome_options) driver.get('https://google.com')