chrome无界面模式headless配置

引入Options:

配置浏览器:

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

posted @ 2018-06-09 22:18  tangbc  阅读(1285)  评论(0编辑  收藏  举报