chrome_options = Options()
chrome_options.add_experimental_option("detach", True)
wd = webdriver.Chrome(service=Service('chromedriver.exe'), options=chrome_options)
python selenium运行出错不关闭浏览器代码
最新推荐文章于 2024-01-12 04:55:23 发布
chrome_options = Options()
chrome_options.add_experimental_option("detach", True)
wd = webdriver.Chrome(service=Service('chromedriver.exe'), options=chrome_options)