Answers for "incognito mode in selenium"

1

incognito mode in selenium

import time
from selenium import webdriver

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

driver = webdriver.Chrome(chrome_options=chrome_options)
driver.maximize_window()
driver.get('https://google.com')
time.sleep(3)
driver.close()
Posted by: Guest on October-13-2021

Code answers related to "incognito mode in selenium"

Python Answers by Framework

Browse Popular Code Answers by Language