driver = webdriver.Chrome("/usr/lib/chromium-browser/chromedriver")
WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
(The process started from chrome location /usr/bin/chromium-browser is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
字符串
selenium 和Chrome驱动程序都是最新的。我不明白为什么会发生这个错误。
1条答案
按热度按时间lx0bsm1f1#
您可以使用Google-Colab-Selenium
字符串
你可以这样使用Selenium:
型