chromedriver unexpectedly exited error when running Python in online cloud IDE

时间:2019-04-08 13:02:26

标签: selenium selenium-webdriver selenium-chromedriver

I am working on my project from online IDE. I updated selenium and chromedriver is up to date as well and I also tried linux64 version.

I googled the same issue for solving permission problem so I included this line : (ChromeDriverManager().install()) and after that it throws "chromedriver unexpectedly exited error"

Is the problem related to my cloud environment and directory location? Or would there be any installation missed on the process? Thanks.

from selenium import webdriver
from webdriver_manager.chrome import ChromeDriverManager

driver = webdriver.Chrome(ChromeDriverManager().install())
driver = webdriver.Chrome(executable_path=r'/root/.wdm/chromedriver/2.46/linux64/chromedriver')
driver.get("http://www.python.org")

0 个答案:

没有答案