chrome无界面模式headless配置

引入Options:

配置浏览器:

配置浏览器options,然后传入webdriver.Chrome()就可以成功使用了。

猜你喜欢

转载自www.cnblogs.com/tangbochu/p/9161600.html