Created
July 5, 2022 13:16
-
-
Save Tarek-O/23690585c3e9e3b3c9adc801e48cbca3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.openqa.selenium.InvalidSelectorException: Locator Strategy 'name' is not supported for this session | |
For documentation on this error, please visit: https://www.seleniumhq.org/exceptions/invalid_selector_exception.html | |
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' | |
System info: host: 'FOO-THINKPADE14', ip: '192.168.1.109', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '17.0.1' | |
Driver info: io.appium.java_client.android.AndroidDriver | |
Capabilities {app: C:\Users\user\eclipse-works..., appPackage: **, automationName: UiAutomator2, databaseEnabled: false, desired: {app: C:\Users\user\eclipse-works..., automationName: UiAutomator2, fullReset: false, platformName: android}, deviceApiLevel: 30, deviceManufacturer: Google, deviceModel: sdk_gphone_x86, deviceName: emulator-5554, deviceScreenDensity: 440, deviceScreenSize: 1080x2280, deviceUDID: emulator-5554, fullReset: false, javascriptEnabled: true, locationContextEnabled: false, networkConnectionEnabled: true, pixelRatio: 2.75, platform: LINUX, platformName: android, platformVersion: 11, statBarHeight: 135, takesScreenshot: true, viewportRect: {height: 1842, left: 0, top: 135, width: 1080}, warnings: {}, webStorageEnabled: false} | |
Session ID: bd877fb0-112e-449d-ae59-a8ae0cf28fb4 | |
*** Element info: {Using=name, value=test} | |
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77) | |
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499) | |
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480) | |
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:187) | |
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:122) | |
at org.openqa.selenium.remote.http.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:49) | |
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:158) | |
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239) | |
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548) | |
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41) | |
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) | |
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) | |
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:322) | |
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:61) | |
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1) | |
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1) | |
at org.openqa.selenium.remote.RemoteWebDriver.findElementByName(RemoteWebDriver.java:400) | |
at io.appium.java_client.DefaultGenericMobileDriver.findElementByName(DefaultGenericMobileDriver.java:117) | |
at io.appium.java_client.AppiumDriver.findElementByName(AppiumDriver.java:1) | |
at io.appium.java_client.android.AndroidDriver.findElementByName(AndroidDriver.java:1) | |
at org.openqa.selenium.By$ByName.findElement(By.java:284) | |
at org.openqa.selenium.support.ByIdOrName.findElement(ByIdOrName.java:50) | |
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:314) | |
at io.appium.java_client.DefaultGenericMobileDriver.findElement(DefaultGenericMobileDriver.java:57) | |
at io.appium.java_client.AppiumDriver.findElement(AppiumDriver.java:1) | |
at io.appium.java_client.android.AndroidDriver.findElement(AndroidDriver.java:1) | |
at org.openqa.selenium.support.pagefactory.DefaultElementLocator.findElement(DefaultElementLocator.java:69) | |
at org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler.invoke(LocatingElementHandler.java:38) | |
at jdk.proxy2/jdk.proxy2.$Proxy18.click(Unknown Source) | |
at pageObjects.onBoardingPage.selectEnglish(onBoardingPage.java:36) | |
at stepDefinitions.testDef.the_login_button_is_clicked_from_the_dashboard(testDef.java:27) | |
at ?.the Login button is clicked from the Dashboard(file:///C:/Users/user/eclipse-workspace/**/src/test/resources/features/test.feature:6) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment