I am attempting to use Chrome v60.0.3093.0 (Canary) with Selenium. I would like to also trying using it as a headless implementation. I was wondering if there is a version of the ChromeDriver that supports v60.x for use with selenium-webdriver v2.53.1
(I am doing this with MAC OS X)
You can found chrome and chromedriver versions compatibility information on official chromedriver download page: https://sites.google.com/a/chromium.org/chromedriver/downloads
There is also version selection guide for future updates. Note that this algorithm can be easily automated like in this answer.
Related
I updated my Chrome Browser and installed the latest ChromeDriver version. Somehow I now gut the following erreor:
This version of ChromeDriver only supports Chrome version 96
Current browser version is 98.0.4758.81
How can I resolve this issue.
If possible answer as simple as possible because I am new to all of this.
Thanks in advance
for chromedriver of 98.0.4758.81, try using 98.0.4758.80. It shall work, and if not, please comment the error/issue. I have chrome 98.0.4758.81 and i just downloaded chromedriver 98.0.4758.80 recently (even myself hoping it will work)
ChromeDriver is working on my system even though I don't have Chrome or Chromium installed. Based on the name, I thought it was like a "car driver" where you still need a car to get going. Or maybe like a product's API where you still need the product for your API calls to accomplish something.
Edit: Whoops, Chromium is installed after all.
Of course ChromeDriver requires Chrome or Chromium.
As per ChromeDriver - WebDriver for Chrome ChromeDriver is a separate executable that WebDriver uses to control Chrome.
Now, as per Requirements - ChromeDriver the server expects you to have Chrome installed in the default location for each system as follows:
1For Linux systems, the ChromeDriver expects /usr/bin/google-chrome to be a symlink to the actual Chrome binary.
You can also force ChromeDriver to use a custom location by setting a special capability. You can find the documentation in Using a Chrome executable in a non-standard location
I want to run some test using selenium standalone server on Google Chrome but i need to pass some ChromeOptions to the chrome driver from command line
Anybody has an idea of how can i do that?
Selenium Core, which is what you are referring to, was released before Chrome existed. Support for Chrome was added later. What you are asking for was never supported, and with Selenium Core deprecated several years back, it will probably never be supported.
One possible workaround is to set the desired options in the Chrome profile.
Another options, although much more painful, is to move up to Selenium WebDriver.
I am trying to run tests in Chrome browser 32.0.1700.76 (latest) using Selenium 2 Webdriver with chromedriver version 2.4
Chrome starts but the string "data;" is displayed in the url bar.
Those test worked fine with a previous Chrome version (28.xxxxx) but I can't downgrade Chrome.
Can anyone suggest me how can I solve the problem?
You need to either upgrade the ChromeDriver you are using or find a way to downgrade Chrome.
The basic principle of the issue is that the ChromeDriver v2.4's support of the most recent versions of Chrome is non-existent.
You get similar issues with Firefox, an upgrade will sometimes break the tests.
I'd like to test out the new SwiftShader-based software WebGL engine which is allegedly in Chrome 18. I'm running 18.0.1025.165 on Mac OS X 10.7.3. I tried this command line (suggested here), but when I visit something with WebGL, it just says that it is disabled:
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --blacklist-accelerated-compositing --blacklist-webgl
Is SwiftShader in the Mac version of Chrome 18? Is there a different trick I should use to enable it?
Currently SwiftShader is only available for Chrome under Windows. Is there any particular reason why you need it on Mac OS? Apple typically has adequate graphics hardware and OpenGL drivers.