Selenium Webdriver & Chrome Driver - Not Able to Run Chrome Driver

Can't use chrome driver for Selenium

You should specify the executable file path, not the directory path that contains the executable.

driver = webdriver.Chrome(executable_path=r"C:\Chrome\chromedriver.exe")

Selenium Webdriver & Chrome driver - not able to run chrome driver

Using Java 1.6 did the trick.

After trying Selenium-server-standalone-2.37.0.jar ; Google Chrome 33.0.1750.117; chromedriver_linux64_2.2; Java version "1.7", found that java version didn't go along with the others. And hence solved my problem.

How to fix chrome driver version issue in selenium and pyinstaller using python?

Your issue is unlikely to be the Chrome Driver version. One way to check it is simply to run the full script and see if Chromedriver launched correctly or not.

In general, my approach to debugging the Pyinstaller error will be following.

1: Make sure Pyinstaller is not at the newest version (3.6 is my personal preference). I am not sure what is the issue with the newer Pyinstaller but it always gives me trouble when packaging executable.

2: If downgrading Pyinstaller not working, make sure the standalone script itself can run with no bug.

3: If the error persists, copy-paste the error msg to Google.

Can't run selenium Chromedriver (was working fine before)

The version of both Chrome (or Chromium) and Chromedriver must coincide.

As you can see in the error, your current Chromedriver only works with Chromium version 74.

Check the version of you Chromium and install the corresponding version of Chromedriver. To do this you can run the following command in a terminal.

apt-cache policy chromium

Chrome Driver - no longer able to use DevTools api of a web driver session opened by selenium

You no longer need to use chrome-remote-interface to access the chrome debugging port. You can now use Selenium 4's new ChromeDriver dev tools SDK to execute commands against chrome through the CDP.

Switching to this fixed the problem.



Related Topics



Leave a reply



Submit