Selenium, how not to open incognito mode when I execute

Viewed 941

When I execute

driver = webdriver.Chrome('/Users/sunghunkwak/PythonTesting/chromedriver')
driver.get("https://gmail.com")

it always opens incognito mode (secrete, private mode). But, I want to use the original Chrome. How can I do it?

Thank you.

1 Answers

Try to check if you have added some arguments into the Chrome options, i.e:

chrome_options.add_argument("--incognito")
Related