摘要:
1.常用参数: # options.add_argument('--headless') # 开启无界面模式 # options.add_argument("--disable-gpu") # 禁用gpu 谷歌文档提到需要加上这个属性来规避bug # options.add_argument('-- 阅读全文
摘要:
from selenium.webdriver import Chrome from selenium.webdriver.common.keys import Keys web = Chrome() # web.get('http://www.lagou.com') # # # 浏览器窗口最大化 阅读全文