org.openqa.selenium.WebDriverException: findElements returned invalid value: "[{\"ELEMENT\": \":wdc:1345446036896\"}, {\"ELEMENT\": \":wdc:1345446036897\"}, {\"ELEMENT\": \":wdc:1345446036898\"}, {\"ELEMENT\": \":wdc:1345446036899\"}, {\"ELEMENT\": \":wdc:1345446036900\"}, {\"ELEMENT\": \":wdc:1345446036901\"}, {\"ELEMENT\": \":wdc:1345446036902\"}, {\"ELEMENT\": \":wdc:1345446036903\"}]" (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 13 milliseconds Build info: version: '2.21.0', revision: '16552', time: '2012-04-11 19:09:00' System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.8', java.version: '1.6.0_33' Driver info: driver.version: RemoteWebDriver

GitHub | GoogleCodeExporter | 2 years ago
  1. 0

    chromedriver_mac_21.0.1180.4 can not use findelement() for get a page's object element on mac

    GitHub | 2 years ago | GoogleCodeExporter
    org.openqa.selenium.WebDriverException: findElements returned invalid value: "[{\"ELEMENT\": \":wdc:1345446036896\"}, {\"ELEMENT\": \":wdc:1345446036897\"}, {\"ELEMENT\": \":wdc:1345446036898\"}, {\"ELEMENT\": \":wdc:1345446036899\"}, {\"ELEMENT\": \":wdc:1345446036900\"}, {\"ELEMENT\": \":wdc:1345446036901\"}, {\"ELEMENT\": \":wdc:1345446036902\"}, {\"ELEMENT\": \":wdc:1345446036903\"}]" (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 13 milliseconds Build info: version: '2.21.0', revision: '16552', time: '2012-04-11 19:09:00' System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.8', java.version: '1.6.0_33' Driver info: driver.version: RemoteWebDriver
  2. 0

    Get an error for Drop down Web element for Google chrome 20.0.1132.57.Same code is working fine with Firefox 13.0,IE 9 and previous version of Crome 19.0

    GitHub | 2 years ago | GoogleCodeExporter
    org.openqa.selenium.WebDriverException: findElements returned invalid value: "[{\"ELEMENT\": \":wdc:1343311843087\"}, {\"ELEMENT\": \":wdc:1343311843088\"}, {\"ELEMENT\": \":wdc:1343311843089\"}, {\"ELEMENT\": \":wdc:1343311843090\"}, {\"ELEMENT\": \":wdc:1343311843091\"}, {\"ELEMENT\": \":wdc:1343311843092\"}]" (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 15 milliseconds Build info: version: '2.24.1', revision: '17205', time: '2012-06-19 16:53:24' System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0' Driver info: driver.version: RemoteWebDriver Session ID: 91c05c680cda100372043ff44116e3b0
  3. 0

    findElements returned invalid value

    GitHub | 2 years ago | GoogleCodeExporter
    org.openqa.selenium.WebDriverException: findElements returned invalid value: "[{\"ELEMENT\": \":wdc:1343806945948\"}]" (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 20 milliseconds Build info: version: '2.24.1', revision: '17205', time: '2012-06-19 17:28:14' System info: os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.6.0_31' Driver info: driver.version: RemoteWebDriver Session ID: 34777fb9eea341f690a8b9b0ae25eda6
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Selenium WebDriver How to Resolve Stale Element Reference Exception?

    Stack Overflow | 4 years ago | user1107753
    org.openqa.selenium.StaleElementReferenceException: stale element reference: element is not attached to the page document (Session info: chrome=26.0.1410.64) (Driver info: chromedriver=0.8,platform=Windows NT 6.0 SP2 x86) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 56 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html Build info: version: '2.32.0', revision: '6c40c187d01409a5dc3b7f8251859150c8af0bcb', time: '2013-04-09 10:39:28' System info: os.name: 'Windows Vista', os.arch: 'x86', os.version: '6.0', java.version: '1.6.0_10' Session ID: 784c53b99ad83c44d089fd04e9a42904 Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{platform=XP, acceptSslCerts=true, javascriptEnabled=true, browserName=chrome, rotatable=false, driverVersion=0.8, locationContextEnabled=true, version=26.0.1410.64, cssSelectorsEnabled=true, databaseEnabled=true, handlesAlerts=true, browserConnectionEnabled=false, nativeEvents=true, webStorageEnabled=true, applicationCacheEnabled=false, takesScreenshot=true}]
  6. 0

    Cannot get some search results on amazon book search

    Stack Overflow | 3 months ago | Praveena Namuduri
    org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"./div/div/div/div[2]/div[3]/div/div[2]/a/span"} (Session info: chrome=52.0.2743.116) (Driver info: chromedriver=2.21.371459 (36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4),platform=Mac OS X 10.10.5 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 24 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.53.0', revision: '35ae25b', time: '2016-03-15 16:57:40' System info: host: 'Ravis-MacBook-Air.local', ip: '172.28.128.1', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.10.5', java.version: '1.8.0_65' Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{applicationCacheEnabled=false, rotatable=false, mobileEmulationEnabled=false, chrome={chromedriverVersion=2.21.371459 (36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4), userDataDir=/var/folders/bw/q875mfdx59lb3scyk4ncp4f80000gp/T/.org.chromium.Chromium.eKb0F4}, takesHeapSnapshot=true, databaseEnabled=false, handlesAlerts=true, hasTouchScreen=false, version=52.0.2743.116, platform=MAC, browserConnectionEnabled=false, nativeEvents=true, acceptSslCerts=true, locationContextEnabled=true, webStorageEnabled=true, browserName=chrome, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: ba98db8d22efa0ab9c066166cb129416 *** Element info: {Using=xpath, value=./div/div/div/div[2]/div[3]/div/div[2]/a/span}

  1. raytest 2 times, last 6 days ago
  2. andyglick 4 times, last 4 months ago
  3. rp 5 times, last 10 months ago
16 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.openqa.selenium.WebDriverException

    findElements returned invalid value: "[{\"ELEMENT\": \":wdc:1345446036896\"}, {\"ELEMENT\": \":wdc:1345446036897\"}, {\"ELEMENT\": \":wdc:1345446036898\"}, {\"ELEMENT\": \":wdc:1345446036899\"}, {\"ELEMENT\": \":wdc:1345446036900\"}, {\"ELEMENT\": \":wdc:1345446036901\"}, {\"ELEMENT\": \":wdc:1345446036902\"}, {\"ELEMENT\": \":wdc:1345446036903\"}]" (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 13 milliseconds Build info: version: '2.21.0', revision: '16552', time: '2012-04-11 19:09:00' System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.8', java.version: '1.6.0_33' Driver info: driver.version: RemoteWebDriver

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    4 frames
  3. Selenium
    RemoteWebElement.findElementsByXPath
    1. org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:175)
    2. org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:128)
    3. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:459)
    4. org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:245)
    5. org.openqa.selenium.remote.RemoteWebElement.findElements(RemoteWebElement.java:170)
    6. org.openqa.selenium.remote.RemoteWebElement.findElementsByXPath(RemoteWebElement.java:225)
    6 frames
  4. selenium-api
    By$ByXPath.findElements
    1. org.openqa.selenium.By$ByXPath.findElements(By.java:339)
    1 frame
  5. Selenium
    RemoteWebElement.findElements
    1. org.openqa.selenium.remote.RemoteWebElement.findElements(RemoteWebElement.java:152)
    1 frame
  6. com.aifang.ui
    test_temp_findelement.buildQusetionTest
    1. com.aifang.ui.testcase.test.test_temp_findelement.buildQusetionTest(test_temp_findelement.java:63)
    1 frame
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  8. TestNG
    RemoteTestNG.main
    1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:80)
    2. org.testng.internal.Invoker.invokeMethod(Invoker.java:702)
    3. org.testng.internal.Invoker.invokeTestMethod(Invoker.java:894)
    4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1219)
    5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
    6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:111)
    7. org.testng.TestRunner.privateRun(TestRunner.java:767)
    8. org.testng.TestRunner.run(TestRunner.java:617)
    9. org.testng.SuiteRunner.runTest(SuiteRunner.java:334)
    10. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329)
    11. org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
    12. org.testng.SuiteRunner.run(SuiteRunner.java:240)
    13. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
    14. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:87)
    15. org.testng.TestNG.runSuitesSequentially(TestNG.java:1197)
    16. org.testng.TestNG.runSuitesLocally(TestNG.java:1122)
    17. org.testng.TestNG.run(TestNG.java:1030)
    18. org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:111)
    19. org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:204)
    20. org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:175)
    20 frames