Good to hear! But I only have one version of both gems: $ gem list
... selenium-webdriver (2.24.0) ... watir-webdriver (0.6.1) ... I tried to uninstall those gems and reinstall them, and redownloaded chromedriver just in case, even though I just downloaded it today, but no luck. Would you happen to have any other ideas? Thanks! On Thursday, July 12, 2012 11:34:21 AM UTC-7, Oscar.Rieken wrote: > > I uninstalled all other gem versions and redownloaded chromedriver and it > seems to work fine now. > > On Thu, Jul 12, 2012 at 2:17 PM, amos <[email protected]> wrote: > >> Oh, and if it helps, I'm using Mac OS Lion, 10.7.4 >> >> >> On Thursday, July 12, 2012 11:09:06 AM UTC-7, amos wrote: >>> >>> I didn't get that error in the same place as you, it seems: >>> >>> /Users/amosng/.rvm/gems/ruby-**1.9.3-p194/gems/selenium-** >>> webdriver-2.24.0/lib/selenium/**webdriver/remote/response.rb:**52:in >>> `assert_ok': findElements returned invalid value: "[{\"ELEMENT\": >>> \":wdc:1342116161074\"}, {\"ELEMENT\": \":wdc:1342116161075\"}, >>> {\"ELEMENT\": \":wdc:1342116161076\"}, {\"ELEMENT\": >>> \":wdc:1342116161077\"}, {\"ELEMENT\": \":wdc:1342116161078\"}, >>> {\"ELEMENT\": \":wdc:1342116161079\"}, {\"ELEMENT\": >>> \":wdc:1342116161080\"}, {\"ELEMENT\": \":wdc:1342116161081\"}, >>> {\"ELEMENT\": \":wdc:1342116161082\"}, {\"ELEMENT\": >>> \":wdc:1342116161083\"}, {\"ELEMENT\": \":wdc:1342116161084\"}, >>> {\"ELEMENT\": \":wdc:1342116161085\"}, {\"ELEMENT\": >>> \":wdc:1342116161086\"}, {\"ELEMENT\": \":wdc:1342116161087\"}, >>> {\"ELEMENT\": \":wdc:1342116161088\"}, {\"ELEMENT\": >>> \":wdc:1342116161089\"}, {\"ELEMENT\": \":wdc:1342116161090\"}, >>> {\"ELEMENT\": \":wdc:1342116161091\"}, {\"ELEMENT\": >>> \":wdc:1342116161092\"}, ... >>> >>> but I did get the same error message. Did you find any solutions to that >>> problem? >>> >>> >>> >>> On Friday, June 29, 2012 5:40:02 PM UTC-7, Oscar.Rieken wrote: >>>> >>>> has anyone come across this using the newer version of chromedriver and >>>> watir-webdriver 0.6.1 selenium 2.24.0 >>>> >>>> browser.labels.first >>>> Selenium::WebDriver::Error::**UnknownError: findElements returned >>>> invalid value: "[{\"ELEMENT\": \":wdc:1341015514704\"}, {\"ELEMENT\": >>>> \":wdc:1341015514702\"}, {\"ELEMENT\": \":wdc:1341015514703\"}, >>>> {\"ELEMENT\": \":wdc:1341015514705\"}, {\"ELEMENT\": >>>> \":wdc:1341015514706\"}, {\"ELEMENT\": \":wdc:1341015514707\"}, >>>> {\"ELEMENT\": \":wdc:1341015514708\"}, {\"ELEMENT\": >>>> \":wdc:1341015514709\"}, {\"ELEMENT\": \":wdc:1341015514710\"}, >>>> {\"ELEMENT\": \":wdc:1341015514711\"}, {\"ELEMENT\": >>>> \":wdc:1341015514712\"}, {\"ELEMENT\": \":wdc:1341015514713\"}, >>>> {\"ELEMENT\": \":wdc:1341015514714\"}, {\"ELEMENT\": >>>> \":wdc:1341015514715\"}, {\"ELEMENT\": \":wdc:1341015514716\"}]" >>>> I was just playing around making sure i could locate the element >>>> properly and when it failed it returned this. I am guessing its because of >>>> bad text data in the page sadly this page is internal and I can not expose >>>> it. I will try and put together a page and see if i can replicate it. just >>>> curious if anyone else has seen this. >>>> >>> -- >> Before posting, please read http://watir.com/support. In short: search >> before you ask, be nice. >> >> [email protected] >> http://groups.google.com/group/watir-general >> [email protected] >> > > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
