【发布时间】:2018-03-16 07:00:15
【问题描述】:
我试图运行自动化脚本,一旦我运行,屏幕顶部出现一个黄色条。“CHROME 由自动化测试软件控制” enter image description here
我的脚本停止运行。 然后我将 chrome 驱动程序更新为 2.36,现在脚本正在运行,但该栏仍然可见。
chromeOptions.add_experimental_option("prefs",prefs)
chromeOptions.add_argument('--test-type')
chromeOptions.add_argument("--disable-infobars")
driver = webdriver.Chrome(driver_path, chrome_options=chromeOptions)
【问题讨论】:
-
所以我卸载了 chrome 65 并安装了 63 并关闭了自动更新。现在一切正常
标签: python-2.7 selenium-webdriver