I am using selenium webdriver 2.25.This webdriver supports only for firefox but not Chrome.I downloaded chromedriver and added it to the ClassPath as well but my scripts are not running if i mention chrome as the browser to run.Can anyone suggest me what configuration settings am i missing ? or where i went wrong. Am using Eclipse IDE to write scripts.
Related
I'm working on functional testing. I'm using selenium, protractor and cucumber with Typescript. I'm generally testing on Chrome.
Recently, I've got a problem with my Chrome webdriver (See the image below).
Rendering problem on Chromedriver
As you can see, it seems to be a rendering problem. The problem occurs only when I'm running chrome with selenium webdriver and it triggers with all of my applications.
Environment :
MacOS High Sierra
Protractor 5.3.2
Webdriver-manager 12.0.6
ChromeDriver 2.40
Moreover, my colleague who has the same environment and the same projects work perfectly on his machine.
I tried some tricks :
uninstall and install Google Chrome
downgrade chrome version
downgrade chrome driver version
Restart my machine and my environment
Clean the Chrome webdriver cache
Delete and redownload Node modules
Pull an ancient version of each project
Downgrading and upgrading Protractor
The rendering is working perfectly on Firefox, so the problem is on Chrome only.
By the way, all the page components are in the DOM, it is just about a display problem.
Is anyone got any idea ?
I want to run chrome from selenium with particular app installed in it. I am aware that we can load extensions in the chrome driver as explained here. I have tried to use the same code for unpacked app however it gives an error:
failed to load extension manifest file is missing or unreadable
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.
To test the use NUnit + Telerik Framework
Browser: Google Chrome v24 + standard extension of Telerik
When you run the test - an error "Failed SetUp: System.IO.FileNotFoundException: Chrome browser is not installed on this machine TearDown: System.NullReferenc"
Reinstall Telerik and Google Chrome did not help.
Tell me, please, how to solve the problem?
Translated by Google Translate.
Issue resolved.
Cause of error - Telerik does not work with Google Chrome v.24
Installed Chrome v.20 - it worked
UPD:
After the automatic browser update to version 24 - Telerik is working correctly
Re-install chrome, and do not say yes to the UAC prompt. What is most likely happening if chrome was installed with admin privileges so it installed to program files. Telerik's testing framework expects chrome to be installed in %appdata%. By saying no to the UAC prompt and yes to the install without admin prompt chrome will revert back to installing in %appdata%