一.引言
本地windows环境测试完美后上线centos6.7又爆炸了,机房里的服务器,机房不方便去,不能升级系统只能卑微处理bug。先贴错误日志
Starting ChromeDriver 2.31.488763 (092de99f48a300323ecf8c2a4e2e7cab51de5ba8) on port 24518 Only local connections are allowed. 十一月 05, 2020 12:00:01 下午 org.openqa.selenium.remote.ProtocolHandshake createSession 信息: Detected dialect: OSS [INFO][2020-11-05 12:00:11.106] org.openqa.selenium.WebDriverException: unknown error: cannot get automation extension from unknown error: page could not be found: chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb/_generated_background_page.html (Session info: headless chrome=58.0.3029.110) (Driver info: chromedriver=2.31.488763 (092de99f48a300323ecf8c2a4e2e7cab51de5ba8),platform=Linux 2.6.32-573.el6.x86_64 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 0 milliseconds Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-1