Answers for "open url in cognito sellenium"

0

selenium incognito chrome

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')
Posted by: Guest on May-15-2020

Browse Popular Code Answers by Language