org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 78 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 17:00:58' System info: host: 'ZANDIG-PC', ip: '192.168.15.2', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_76' *** Element info: {Using=xpath, value=//input[@id='email']} Session ID: 6d48a8e9-9c5f-4b77-acf5-1905fe2ea853 Driver info: io.appium.java_client.android.AndroidDriver Capabilities [{platform=LINUX, javascriptEnabled=true, appActivity=com.orionorbit.th.MainActivity, browserName=, networkConnectionEnabled=true, desired={platformVersion=6.0.1, platformName=Android, deviceName=Nexus, appActivity=com.orionorbit.th.MainActivity, browserName=, appPackage=com.orionorbit.th}, locationContextEnabled=false, appPackage=com.orionorbit.th, platformVersion=6.0.1, databaseEnabled=false, platformName=Android, deviceName=0c35ec7f02ba5d2f, webStorageEnabled=false, warnings={}, takesScreenshot=true}]

Stack Overflow | Ashish Sinha | 6 months ago
  1. 0

    Not able to set Xpath for my application elements in appium

    Stack Overflow | 6 months ago | Ashish Sinha
    org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 78 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 17:00:58' System info: host: 'ZANDIG-PC', ip: '192.168.15.2', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_76' *** Element info: {Using=xpath, value=//input[@id='email']} Session ID: 6d48a8e9-9c5f-4b77-acf5-1905fe2ea853 Driver info: io.appium.java_client.android.AndroidDriver Capabilities [{platform=LINUX, javascriptEnabled=true, appActivity=com.orionorbit.th.MainActivity, browserName=, networkConnectionEnabled=true, desired={platformVersion=6.0.1, platformName=Android, deviceName=Nexus, appActivity=com.orionorbit.th.MainActivity, browserName=, appPackage=com.orionorbit.th}, locationContextEnabled=false, appPackage=com.orionorbit.th, platformVersion=6.0.1, databaseEnabled=false, platformName=Android, deviceName=0c35ec7f02ba5d2f, webStorageEnabled=false, warnings={}, takesScreenshot=true}]
  2. 0

    All test Fails automatically after first @Test failure from same class

    Stack Overflow | 3 weeks ago | Anton
    org.openqa.selenium.NoSuchElementException: An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 80.28 seconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' System info: host: 'WUSAF185125-G3D', ip: '153.86.242.30', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_91' Driver info: io.appium.java_client.android.AndroidDriver Capabilities [{app=/Users/af185125/android-ui-test/currentApp/appiumT.apk, appPackage=com.ao.demo.beta, networkConnectionEnabled=true, warnings={}, appWaitPackage=com.ao.demo.beta, appWaitActivity=com.ao.core.ui.launch.LaunchActivity, databaseEnabled=false, deviceName=ad071603280ea0c18d, version=6.0, fullReset=true, platform=LINUX, deviceUDID=ad071603280ea0c18d, appActivity=com.ao.core.ui.launch.LaunchActivity, desired={app=/Users/af185125/android-ui-test/currentApp/appiumT.apk, newCommandTimeout=4000, platformVersion=6.0, automationName=Appium, platformName=Android, deviceName=Automation, version=6.0, optionalIntentArguments=--es appium_config "{"useTimeSelection":false,"disableBirthday":true}", fullReset=true}, newCommandTimeout=4000, platformVersion=6.0.1, webStorageEnabled=false, locationContextEnabled=false, automationName=Appium, takesScreenshot=true, javascriptEnabled=true, platformName=Android, optionalIntentArguments=--es appium_config "{"useTimeSelection":false,"disableBirthday":true}"}] Session ID: 30270d0f-8594-4ead-b5b6-56dfeee37f44 *** Element info: {Using=id, value=fasf.com}
  3. 0

    While running Selenium webdriver script I am getting below error

    Stack Overflow | 3 years ago | user3460883
    org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"xpath","selector":".//*[@id=':hf']/div/div"} Command duration or timeout: 2.29 seconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.21.0', revision: '16552', time: '2012-04-11 19:09:00' System info: os.name: 'Windows 7', os.arch: 'x86', os.version: '6.1', java.version: '1.7.0_05' Driver info: driver.version: RemoteWebDriver
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Display string as it is in HTML angularjs

    Stack Overflow | 3 years ago | raju
    org.openqa.selenium.NoSuchElementException: Unable to locate element: {"method":"link text","selector":"python Button sub components"} Command duration or timeout: 62.06 seconds
  6. 0

    Selenium Webelement in two methods fail when called

    Stack Overflow | 3 years ago | user3335808
    org.openqa.selenium.NoSuchElementException: no such element

  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

    An element could not be located on the page using the given search parameters. (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 78 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 17:00:58' System info: host: 'ZANDIG-PC', ip: '192.168.15.2', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.7.0_76' *** Element info: {Using=xpath, value=//input[@id='email']} Session ID: 6d48a8e9-9c5f-4b77-acf5-1905fe2ea853 Driver info: io.appium.java_client.android.AndroidDriver Capabilities [{platform=LINUX, javascriptEnabled=true, appActivity=com.orionorbit.th.MainActivity, browserName=, networkConnectionEnabled=true, desired={platformVersion=6.0.1, platformName=Android, deviceName=Nexus, appActivity=com.orionorbit.th.MainActivity, browserName=, appPackage=com.orionorbit.th}, locationContextEnabled=false, appPackage=com.orionorbit.th, platformVersion=6.0.1, databaseEnabled=false, platformName=Android, deviceName=0c35ec7f02ba5d2f, webStorageEnabled=false, warnings={}, takesScreenshot=true}]

    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.execute
    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:678)
    3 frames
  4. java-client
    AndroidDriver.execute
    1. io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:51)
    2. io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
    3. io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1)
    3 frames
  5. Selenium
    RemoteWebDriver.findElement
    1. org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:363)
    1 frame
  6. java-client
    AndroidDriver.findElement
    1. io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:67)
    2. io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
    3. io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
    3 frames
  7. Selenium
    RemoteWebDriver.findElementByXPath
    1. org.openqa.selenium.remote.RemoteWebDriver.findElementByXPath(RemoteWebDriver.java:500)
    1 frame
  8. java-client
    AndroidDriver.findElementByXPath
    1. io.appium.java_client.DefaultGenericMobileDriver.findElementByXPath(DefaultGenericMobileDriver.java:145)
    2. io.appium.java_client.AppiumDriver.findElementByXPath(AppiumDriver.java:1)
    3. io.appium.java_client.android.AndroidDriver.findElementByXPath(AndroidDriver.java:1)
    3 frames
  9. selenium-api
    By$ByXPath.findElement
    1. org.openqa.selenium.By$ByXPath.findElement(By.java:361)
    1 frame
  10. Selenium
    RemoteWebDriver.findElement
    1. org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:355)
    1 frame
  11. java-client
    AndroidDriver.findElement
    1. io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:63)
    2. io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
    3. io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
    3 frames
  12. Appium
    AppiumTest.main
    1. Appium.AppiumTest.main(AppiumTest.java:61)
    1 frame
  13. 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
  14. 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:816)
    4. org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1124)
    5. org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
    6. org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
    7. org.testng.TestRunner.privateRun(TestRunner.java:774)
    8. org.testng.TestRunner.run(TestRunner.java:624)
    9. org.testng.SuiteRunner.runTest(SuiteRunner.java:359)
    10. org.testng.SuiteRunner.runSequentially(SuiteRunner.java:354)
    11. org.testng.SuiteRunner.privateRun(SuiteRunner.java:312)
    12. org.testng.SuiteRunner.run(SuiteRunner.java:261)
    13. org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
    14. org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
    15. org.testng.TestNG.runSuitesSequentially(TestNG.java:1215)
    16. org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
    17. org.testng.TestNG.run(TestNG.java:1048)
    18. org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:126)
    19. org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:137)
    20. org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:58)
    20 frames