标签:import webdriver sele tom pat http options python学习 clu
from selenium import webdriver
from selenium.webdriver import ChromeOptions
options = ChromeOptions()
options.add_experimental_option(‘excludeSwitches‘, [‘enable-automation‘])
a = webdriver.Chrome(executable_path=r‘D:\python学习\其他\chromedriver.exe‘, options=options)
a.get(‘http://www.baidu.com‘)
a.quit()
标签:import webdriver sele tom pat http options python学习 clu
原文地址:https://www.cnblogs.com/zjj999/p/12612289.html