📜  Chrome 由自动化测试软件控制 - 无论代码示例

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

代码示例1
from selenium import webdriver
from selenium.webdriver.chrome.options import Options

options = Options()
options.add_experimental_option("excludeSwitches", ["enable-automation"])

driver = webdriver.Chrome(options=options)