我正在尝试在 chrome 驱动程序上创建一个新的会话,但是它出现:
Unable to create new session.
UnknownError: unknown error: Chrome failed to start: exited abnormally
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/google-chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'Unknown', ip: 'Unknown', os.name: 'Linux', os.arch: 'amd64', os.version: '5.0.0-25-generic', java.version: '1.8.0_222'
Driver info: driver.version: unknown
remote stacktrace: #0 0x5645d46dc7e9 <unknown>
可能是什么?Selenium 正在通过 webdriver-manager 运行。服务器已启动,但无法创建 chrome 驱动程序会话。