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
My Classes Can't Use Shoes Methods Like Para
Sorting of 2D Array by Its Amount of in the Inner Elements
Rails 3 Translations Within Models in Production
Accessing Values Through Ajax Calls and Partials in Rails
How to Get Order Username and Provisiondate for All Softlayer MAChines Using Ruby
Ruby Net-Ssh Calling Bash Script with Interactive Prompts
Randomly Showing Nomethoderror: Undefined Method 'Empty' for 0:Fixnum
Making Hashes Find Each Other by Their Values Using Ruby
Rails Get Index of "Each" Loop
Editing JSON Array Contents in Ruby
Ruby on Rails - Error Making New App (Rb:55:In 'Require')
Proc Throws Error When Used with Do End
Difference Between "<%=" and "<%" When Mixing Ruby with HTML
Ruby Stack Failed to Deploy on Google Developers Console
How to Prevent My Users to Read My Ruby Code
How to List All Databases with Activerecord
Ruby/Watir/Rasta: Pass the Value from the Excel/Rasta to an Array in Ruby