📜  selenium incognito chrome - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:54.846000             🧑  作者: Mango

代码示例1
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')