intern icon indicating copy to clipboard operation
intern copied to clipboard

Underlying wd library broken with Selenium 2.34.0 and later

Open samdelagarza opened this issue 13 years ago • 11 comments

See https://github.com/admc/wd/issues/167

samdelagarza avatar Aug 14 '13 21:08 samdelagarza

“Doesn’t work”. What does this mean? Did you get an error? Did you get an unexpected value? Did you get nothing? Did the keyboard give you an electric shock? Did the computer burst into flames?

csnover avatar Aug 14 '13 21:08 csnover

LOL, @csnover good one. coffee isn't working by this time in the day.

the problem i experience is that chrome is opened via the webdriver and then just sits idling on a blank screen. The intern only reports that "fatal error occurred." and the selenium hub reports that it's "trying to create a new session" while the node reports that it's done.

samdelagarza avatar Aug 14 '13 21:08 samdelagarza

it's hard to tell if it's selenium or wd.js, any tips on how to isolate?

samdelagarza avatar Aug 14 '13 21:08 samdelagarza

Do you know that Chrome’s driver has already been updated to support the new version of Selenium server?

csnover avatar Aug 14 '13 21:08 csnover

Yes, it all works fine with selenium 2.33, but the move to 2.34 broke it.

samdelagarza avatar Aug 14 '13 21:08 samdelagarza

Running using Selenium 2.34.0 on Sauce Labs with Chrome works for me, so whatever is wrong is an issue with your local installation. Also, Selenium 2.35.0 was already released, so if you are trying to be on the latest and greatest, you will need to upgrade again.

csnover avatar Aug 14 '13 22:08 csnover

btw, great framework!

samdelagarza avatar Aug 14 '13 22:08 samdelagarza

We upgraded to 2.34 (and then 2.35 to see if it was just 2.34 that was broken) a couple of days ago to try to work around a bug in the Firefox driver, and we were seeing the exact same problem with both. So, @samdelagarza, it's not just you, and it's not just Chrome.

RoystonS avatar Aug 15 '13 07:08 RoystonS

Mysterious that Chrome on Sauce Labs works with 2.34.0. Maybe they are actually secretly still using 2.33.0 on those machines. Anyway, here is the issue, reported upstream: https://github.com/admc/wd/issues/167

csnover avatar Aug 15 '13 17:08 csnover

The session initialization was updated from 2.34.0 which broke the wd driver. This was fixed, however I still see the same issues as you with Firefox+Selenium. Looks like some javascript callback are not triggered within the browser.

sebv avatar Aug 15 '13 23:08 sebv

Fixed in d8118df0e1cb7f0bf7725d0a76d4a2bdd07cf8ef (master) d5d01db4fb10e4c6b4880c5902b164de8658967c (geezer) 697961b23ce9c3622e474ac3c85195b34ee1203f (1.2.1) aec28f0bc21f7bb4349700a2f81d59a030b5e0ae (1.2.1-geezer)

csnover avatar Aug 20 '13 04:08 csnover