chrome无界面模式headless配置

引入Options:

配置浏览器:

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

原文地址:https://www.cnblogs.com/tangbochu/p/9161600.html