Amit Shakya
Amit Shakya

Reputation: 1476

Selenium RC is not working with latest google chrome

I am using selenium RC version-2.21. Everything was working fine with old google chrome. Then it gets auto updated. The problem is when i run the test cases only the command window(the window where you can see which command is getting executed) is visible.The second window(AUT) is not visible. My google chrome version is 18.0.1025.162 m. Please help with this issue.

Upvotes: 0

Views: 1521

Answers (3)

Matias
Matias

Reputation: 11

The solution is to add a sentence to maximize the AUT window.

You have to add:

seleniumClient.windowMaximize();

after starting your selenium client instance.

Upvotes: 1

Nashibukasan
Nashibukasan

Reputation: 2028

Do you get an error message? Or is the browser just not visible (I assume you mean at all and not that it is just minimized?). As Selenium RC's documentation suggests, not all browser versions are supported (which clearly sucks in this case for you! =[) so you may have to look at Selenium WebDriver, or wait for a new release of Selenium RC to handle the new Chrome. Sorry this doesn't really solve anything for you!

Upvotes: 0

Ross Patterson
Ross Patterson

Reputation: 9570

Any time Chrome gets updated, you may need a new version of the "chromedriver" interface to it. That's supplied by the Chrome folks, not by the Selenium folks. Go to http://code.google.com/p/chromedriver/downloads/list and find the one that matches your browser.

Upvotes: 2

Related Questions