org.openqa.selenium.InvalidSelectorException: Locator Strategy 'name' is not supported for this session (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 7 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/invalid_selector_exception.html Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' System info: host: '192.168.100.4', ip: '192.168.100.4', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.10.5', java.version: '1.8.0_60' Driver info: io.appium.java_client.android.AndroidDriver Capabilities [{app=/Users/dmle1/git/e2e_test/target/test-classes/tst-TeliaMinMobil-v1.12.0.257-build413.apk, appPackage=com.halebop.servicetips.tst, networkConnectionEnabled=true, warnings={}, appWaitPackage=com.halebop.servicetips.tst, appWaitActivity=com.halebop.servicetips.activity.LoginActivity, databaseEnabled=false, deviceName=YT910WS1FT, platform=LINUX, deviceUDID=YT910WS1FT, appActivity=com.halebop.servicetips.activity.LoginActivity, desired={app=/Users/dmle1/git/e2e_test/target/test-classes/tst-TeliaMinMobil-v1.12.0.257-build413.apk, platformVersion=6.0, automationName=Appium, browserName=, platformName=Android, deviceName=Android}, platformVersion=6.0.1, webStorageEnabled=false, locationContextEnabled=false, automationName=Appium, takesScreenshot=true, browserName=, javascriptEnabled=true, platformName=Android}] Session ID: a414e0c8-0529-483c-9126-68063c693056 *** Element info: {Using=name, value=moveToNewPhone}

GitHub | dmlemeshko | 2 weeks ago
  1. 0

    @AndroidFindBy, @iOSFindBy doesn't work correctly with selenide

    GitHub | 2 weeks ago | dmlemeshko
    org.openqa.selenium.InvalidSelectorException: Locator Strategy 'name' is not supported for this session (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 7 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/invalid_selector_exception.html Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' System info: host: '192.168.100.4', ip: '192.168.100.4', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.10.5', java.version: '1.8.0_60' Driver info: io.appium.java_client.android.AndroidDriver Capabilities [{app=/Users/dmle1/git/e2e_test/target/test-classes/tst-TeliaMinMobil-v1.12.0.257-build413.apk, appPackage=com.halebop.servicetips.tst, networkConnectionEnabled=true, warnings={}, appWaitPackage=com.halebop.servicetips.tst, appWaitActivity=com.halebop.servicetips.activity.LoginActivity, databaseEnabled=false, deviceName=YT910WS1FT, platform=LINUX, deviceUDID=YT910WS1FT, appActivity=com.halebop.servicetips.activity.LoginActivity, desired={app=/Users/dmle1/git/e2e_test/target/test-classes/tst-TeliaMinMobil-v1.12.0.257-build413.apk, platformVersion=6.0, automationName=Appium, browserName=, platformName=Android, deviceName=Android}, platformVersion=6.0.1, webStorageEnabled=false, locationContextEnabled=false, automationName=Appium, takesScreenshot=true, browserName=, javascriptEnabled=true, platformName=Android}] Session ID: a414e0c8-0529-483c-9126-68063c693056 *** Element info: {Using=name, value=moveToNewPhone}
  2. 0

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

    Stack Overflow | 2 months 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

    Facing problem while switching from Native to WebView in appium

    GitHub | 2 weeks ago | ankitgupta0304
    org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//div[@class='address-section']//p[contains(text(),'blastandroid')]"} (Session info: chrome=55.0.2883.91) (Driver info: chromedriver=2.25.426935 (820a95b0b81d33e42712f9198c215f703412e1a1),platform=Mac OS X 10.11.3 x86_64) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 349 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/no_such_element.html Build info: version: '2.52.0', revision: '4c2593cfc3689a7fcd7be52549167e5ccc93ad28', time: '2016-02-11 11:22:43' System info: host: 'AnkitGupta04.local', ip: '10.20.86.78', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.3', java.version: '1.8.0_101' Driver info: io.appium.java_client.android.AndroidDriver Capabilities [{appPackage=com.xxx.main, app=/Users/ankit.gupta04/Documents/Automation/xxx-ios-automation/TestSnapdealAutomation/app/xxx-universal-debug6.2.5.apk, networkConnectionEnabled=true, warnings={}, databaseEnabled=false, deviceName=fb04e45f, platform=LINUX, deviceUDID=fb04e45f, appActivity=com.xxx.ui.material.activity.MaterialMainActivity, desired={appPackage=com.xxx.main, app=/Users/ankit.gupta04/Documents/Automation/xxx-ios-automation/TestxxxAutomation/app/Snapdeal-universal-debug6.2.5.apk, appActivity=com.xxx.ui.material.activity.MaterialMainActivity, newCommandTimeout=60000, platformVersion=5.1.5, browserName=, platformName=Android, udid=fb04e45f, deviceName=MI}, newCommandTimeout=60000, platformVersion=5.0.2, webStorageEnabled=false, locationContextEnabled=false, takesScreenshot=true, browserName=, javascriptEnabled=true, platformName=Android, udid=fb04e45f}] Session ID: dc49fb82-611b-4a61-95dc-e1231815c1f5 *** Element info: {Using=xpath, value=//div[@class='address-section']//p[contains(text(),'blastandroid')]}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.openqa.selenium.InvalidSelectorException: Locator Strategy 'name' is not supported for this session (WARNING: The server did not provide any stacktrace information)

    GitHub | 8 months ago | xiaominghou
    org.openqa.selenium.InvalidSelectorException: Locator Strategy 'name' is not supported for this session (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 8 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/invalid_selector_exception.html Build info: version: '2.47.1', revision: 'unknown', time: '2015-07-30 11:02:44' System info: host: 'N/A', ip: 'N/A', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.4', java.version: '1.7.0_79' *** Element info: {Using=name, value=myTab} Session ID: 13034d14-2ef4-4ea1-b46a-635f9832047b Driver info: io.appium.java_client.ios.IOSDriver Capabilities [{platform=MAC, app=/Users/xiaoming/aaa.ipa, javascriptEnabled=true, browserName=, networkConnectionEnabled=false, desired={app=/Users/hichao/test/mxyc_auto_test/apps/mxyc.ipa, platformVersion=8.3, deviceName=xiaoming, platformName=iOS, appiumVersion=1.0, unicodeKeyboard=true, resetKeyboard=true, udid=ac76963a56e13d8afeae83d3bb33a7f2c826b48a}, udid=ac76963a56e13d8afeae83d3bb33a7f2c826b48a, locationContextEnabled=false, platformVersion=8.3, databaseEnabled=false, platformName=iOS, deviceName=xiaoming, appiumVersion=1.0, webStorageEnabled=false, unicodeKeyboard=true, resetKeyboard=true, takesScreenshot=true}]
  6. 0

    Cannot install APK using installApp() method

    GitHub | 6 months ago | deadmoto
    org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: packageAndLaunchActivityFromManifest failed. Original error: Path must be a string. Received null (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 50 milliseconds Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46' System info: host: 'SFOC02RR0UFG8WN.sea.corp.expecn.com', ip: '172.17.18.190', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_102' Driver info: io.appium.java_client.android.AndroidDriver Capabilities [{appPackage=com.hotwire.hotels.debug, networkConnectionEnabled=true, noSign=true, warnings={}, databaseEnabled=false, deviceName=192.168.56.101:5555, platform=LINUX, deviceUDID=192.168.56.101:5555, appActivity=com.hotwire.hotels.home.view.HomePageActivity, desired={appPackage=com.hotwire.hotels.debug, appActivity=com.hotwire.hotels.home.view.HomePageActivity, androidCoverage=com.hotwire.hotels.debug.test/com.hotwire.hotels.debug.test.HotwireInstrumentation, noSign=true, platformName=Android, deviceName=Android Emulator}, androidCoverage=com.hotwire.hotels.debug.test/com.hotwire.hotels.debug.test.HotwireInstrumentation, platformVersion=4.4.4, webStorageEnabled=false, locationContextEnabled=false, takesScreenshot=true, javascriptEnabled=true, platformName=Android}]Session ID: bf65c670-b7ea-42ec-94c3-2b60dcea4ca5

    2 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.InvalidSelectorException

      Locator Strategy 'name' is not supported for this session (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 7 milliseconds For documentation on this error, please visit: http://seleniumhq.org/exceptions/invalid_selector_exception.html Build info: version: '2.53.1', revision: 'a36b8b1cd5757287168e54b817830adce9b0158d', time: '2016-06-30 19:26:09' System info: host: '192.168.100.4', ip: '192.168.100.4', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.10.5', java.version: '1.8.0_60' Driver info: io.appium.java_client.android.AndroidDriver Capabilities [{app=/Users/dmle1/git/e2e_test/target/test-classes/tst-TeliaMinMobil-v1.12.0.257-build413.apk, appPackage=com.halebop.servicetips.tst, networkConnectionEnabled=true, warnings={}, appWaitPackage=com.halebop.servicetips.tst, appWaitActivity=com.halebop.servicetips.activity.LoginActivity, databaseEnabled=false, deviceName=YT910WS1FT, platform=LINUX, deviceUDID=YT910WS1FT, appActivity=com.halebop.servicetips.activity.LoginActivity, desired={app=/Users/dmle1/git/e2e_test/target/test-classes/tst-TeliaMinMobil-v1.12.0.257-build413.apk, platformVersion=6.0, automationName=Appium, browserName=, platformName=Android, deviceName=Android}, platformVersion=6.0.1, webStorageEnabled=false, locationContextEnabled=false, automationName=Appium, takesScreenshot=true, browserName=, javascriptEnabled=true, platformName=Android}] Session ID: a414e0c8-0529-483c-9126-68063c693056 *** Element info: {Using=name, value=moveToNewPhone}

      at sun.reflect.NativeConstructorAccessorImpl.newInstance0()
    2. Java RT
      Constructor.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
      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:40)
      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:56)
      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.findElementByName
      1. org.openqa.selenium.remote.RemoteWebDriver.findElementByName(RemoteWebDriver.java:461)
      1 frame
    8. java-client
      AndroidDriver.findElementByName
      1. io.appium.java_client.DefaultGenericMobileDriver.findElementByName(DefaultGenericMobileDriver.java:104)
      2. io.appium.java_client.AppiumDriver.findElementByName(AppiumDriver.java:1)
      3. io.appium.java_client.android.AndroidDriver.findElementByName(AndroidDriver.java:1)
      3 frames
    9. selenium-api
      By$ByName.findElement
      1. org.openqa.selenium.By$ByName.findElement(By.java:303)
      1 frame
    10. selenium-support
      ByIdOrName.findElement
      1. org.openqa.selenium.support.ByIdOrName.findElement(ByIdOrName.java:50)
      1 frame
    11. Selenium
      RemoteWebDriver.findElement
      1. org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:355)
      1 frame
    12. java-client
      AndroidDriver.findElement
      1. io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:52)
      2. io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1)
      3. io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1)
      3 frames
    13. com.codeborne.selenide
      SelenideElementProxy.invoke
      1. com.codeborne.selenide.impl.WebElementSelector.findElement(WebElementSelector.java:28)
      2. com.codeborne.selenide.impl.ElementFinder.getWebElement(ElementFinder.java:56)
      3. com.codeborne.selenide.impl.WebElementSource.checkCondition(WebElementSource.java:44)
      4. com.codeborne.selenide.impl.WebElementSource.findAndAssertElementIsVisible(WebElementSource.java:72)
      5. com.codeborne.selenide.commands.Click.execute(Click.java:14)
      6. com.codeborne.selenide.commands.Click.execute(Click.java:11)
      7. com.codeborne.selenide.commands.Commands.execute(Commands.java:140)
      8. com.codeborne.selenide.impl.SelenideElementProxy.dispatchAndRetry(SelenideElementProxy.java:86)
      9. com.codeborne.selenide.impl.SelenideElementProxy.invoke(SelenideElementProxy.java:62)
      9 frames
    14. com.sun.proxy
      $Proxy28.click
      1. com.sun.proxy.$Proxy28.click(Unknown Source)
      1 frame
    15. com.ebuilder.qa
      SecureStepDefs.move_to_newPhone
      1. com.ebuilder.qa.screens.SaveAndTransferScreen.moveToNewPhone(SaveAndTransferScreen.java:25)
      2. com.ebuilder.qa.stepdefs.SecureStepDefs.move_to_newPhone(SecureStepDefs.java:50)
      2 frames