org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"xpath","selector":"//input[@value='Paypal']"} Command duration or timeout: 5.10 seconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.48.2', revision: '41bccdd', time: '2015-10-09 19:59:12' System info: host: '471B07N', ip: '192.168.100.184', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_65' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=42.0, platform=WINDOWS, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 1f8f5d21-e52d-4b5b-b22e-31e615137579 *** Element info: {Using=xpath, value=//input[@value='Paypal']}

  1. 0

    Selenium: NoSuchElementException: Unable to locate element - method:xpath

    Stack Overflow | 12 months ago | Wojciech Krzysiek
    org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"xpath","selector":"//input[@value='Paypal']"} Command duration or timeout: 5.10 seconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.48.2', revision: '41bccdd', time: '2015-10-09 19:59:12' System info: host: '471B07N', ip: '192.168.100.184', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_65' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=42.0, platform=WINDOWS, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 1f8f5d21-e52d-4b5b-b22e-31e615137579 *** Element info: {Using=xpath, value=//input[@value='Paypal']}
  2. 0

    unable to find element

    Software Quality Assurance & Testing | 1 year ago | user15153
    org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"xpath","selector":".//*[@id='rso']/div[1]/div/table/tbody/tr[4]/td[1]/div/span/h3/a"} Command duration or timeout: 23 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.48.2', revision: '41bccdd', time: '2015-10-09 19:55:52' System info: host: 'shaheena-PC', ip: '192.168.0.10', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_51' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=42.0, platform=WINDOWS, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: bc42f0ec-5a72-4787-8f1b-b585a36de4a0 *** Element info: {Using=xpath, value=.//*[@id='rso']/div[1]/div/table/tbody/tr[4]/td[1]/div/span/h3/a}
  3. 0

    How to select an iframe

    Google Groups | 3 years ago | Arnold Figueroa
    org.openqa.selenium.NoSuchElementException: no such element (Session info: chrome=34.0.1847.137) (Driver info: chromedriver=2.9.248315,platform=Windows NT 5.1 SP3 x86) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 63 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.40.0', revision: '4c5c0568b004f67810ee41c459549aa4b09c651e', time: '2014-02-19 11:13:01' System info: host: 'PeddiU-WSP01', ip: '10.26.5.53', os.name: 'Windows XP', os.arch: 'x86', os.version: '5.1', java.version: '1.7.0_45' Session ID: 7e6d03ed6af445c2b4d68f778125bbcf Driver info: org.openqa.selenium.chrome.ChromeDriver Capabilities [{platform=XP, acceptSslCerts=true, javascriptEnabled=true, browserName=chrome, chrome={userDataDir=C:\DOCUME~1\figueroa\LOCALS~1\Temp\scoped_dir7728_22220}, rotatable=false, locationContextEnabled=true, version=34.0.1847.137, takesHeapSnapshot=true, cssSelectorsEnabled=true, databaseEnabled=false, handlesAlerts=true, browserConnectionEnabled=false, nativeEvents=true, webStorageEnabled=true, applicationCacheEnabled=false, takesScreenshot=true}]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [Firefox]Remote driver and Local driver behave not same

    GitHub | 4 months ago | HackToday
    org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"xpath","selector":"//button[contains(text(), \"??\")]"} Command duration or timeout: 10.02 seconds 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 17:00:58' System info: host: '42422b778b8e', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'amd64', os.version: '3.10.0-123.el7.x86_64', java.version: '1.8.0_03-Ubuntu' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=45.0.2, platform=LINUX, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: d1765426-01ed-4d1e-82f1-a0871445bf6d *** Element info: {Using=xpath, value=//button[contains(text(), "??")]}

  1. pnaranja 1 times, last 5 months ago
10 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.NoSuchElementException

    Unable to locate element: {"method":"xpath","selector":"//input[@value='Paypal']"} Command duration or timeout: 5.10 seconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.48.2', revision: '41bccdd', time: '2015-10-09 19:59:12' System info: host: '471B07N', ip: '192.168.100.184', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_65' Driver info: org.openqa.selenium.firefox.FirefoxDriver Capabilities [{applicationCacheEnabled=true, rotatable=false, handlesAlerts=true, databaseEnabled=true, version=42.0, platform=WINDOWS, nativeEvents=false, acceptSslCerts=true, webStorageEnabled=true, locationContextEnabled=true, browserName=firefox, takesScreenshot=true, javascriptEnabled=true, cssSelectorsEnabled=true}] Session ID: 1f8f5d21-e52d-4b5b-b22e-31e615137579 *** Element info: {Using=xpath, value=//input[@value='Paypal']}

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
  2. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    4. java.lang.reflect.Constructor.newInstance(Unknown Source)
    4 frames
  3. Selenium
    RemoteWebDriver.findElementByXPath
    1. org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
    2. org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
    3. org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:647)
    4. org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:353)
    5. org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:490)
    5 frames
  4. selenium-api
    By$ByXPath.findElement
    1. org.openqa.selenium.By$ByXPath.findElement(By.java:361)
    1 frame
  5. Selenium
    RemoteWebDriver.findElement
    1. org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:345)
    1 frame
  6. com.selenium.tests
    HomePage.paypal
    1. com.selenium.tests.testSuite1.HomePage.paypal(HomePage.java:27)
    1 frame
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  8. TestNG
    RemoteTestNG.main
    1. org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
    2. org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
    3. org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
    4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
    5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:124)
    6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
    7. org.testng.TestRunner.privateRun(TestRunner.java:773)
    8. org.testng.TestRunner.run(TestRunner.java:623)
    9. org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
    10. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
    11. org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
    12. org.testng.SuiteRunner.run(SuiteRunner.java:259)
    13. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    14. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    15. org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
    16. org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
    17. org.testng.TestNG.run(TestNG.java:1018)
    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