Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Selenium Webdriver 2 with Firefox 26?

This morning I was running Selenium with 2.32 and Firefox 25.0.1. Firefox updated to 26.0, and suddenly Selenium stopped working. It pops up the new browser window, but then just sits there prompting for a search or address. Is Selenium known to have a problem with this? Is it confused by the new prompt in the Firefox address bar? Has it already been fixed in a newer Selenium 2.3x?

While waiting for a fix, what is the easiest way to change my code to work with either Chrome or (yecch) IE10? I'd like to make my test code configurable so that others in my group can use their browser of choice (especially Chrome). I tried once to get Chrome to work by adding 'browser_name'=>'*chrome' to the new() method, but it never worked.

BTW, I am using the Perl language binding (Selenium::Remote::Driver 0.17).

like image 475
Phil Perry Avatar asked Dec 10 '13 15:12

Phil Perry


1 Answers

Try updating selenium to 2.38.0 (latest one at the time of writing). I had something similar problem with firefox updating and then buttons not being clicked and upgrading the version solved it. Hope this solves it.

like image 144
Insacuri Avatar answered Sep 23 '22 21:09

Insacuri