Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to click on element with tag AXCell #89

Open
harishk5 opened this issue Jun 9, 2020 · 1 comment
Open

Unable to click on element with tag AXCell #89

harishk5 opened this issue Jun 9, 2020 · 1 comment

Comments

@harishk5
Copy link

harishk5 commented Jun 9, 2020

Element of tag ‘AXCell’ is not responding to click() method and throws WebDriver exception

Element is completely accessible and other WebElement interaction methods such as ‘isDisplayed’ or ‘getText’ are returning appropriate information.

Sample Element locator string:
/AXApplication[@AXTitle='Hello']/AXWindow[@AXTitle='Window' and @AXIdentifier='_NS:12' and @AXSubrole='AXStandardWindow']/AXGroup[0]/AXScrollArea[@AXIdentifier='_NS:11']/AXOutline[@AXIdentifier='_NS:17']/AXRow[@AXSubrole='AXOutlineRow']/AXCell[0]

Console Error:

Command duration or timeout: 0 milliseconds
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:17:03’
System info: os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.14.6’, java.version: ‘11.0.4’
Driver info: io.appium.java_client.AppiumDriver
Capabilities {browserName: Mac, databaseEnabled: false, javascriptEnabled: true, locationContextEnabled: false, nativeEvents: true, platform: MAC, platformName: Mac, takesScreenshot: true, version: 10.14.6, webStorageEnabled: false}
Session ID: tg28AIka
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
	at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
	at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
	at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
	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:552)
	at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)
	at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1)
	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:285)
	at org.openqa.selenium.remote.RemoteWebElement.click(RemoteWebElement.java:84)
	at StepDefinitions.MyStepdefs.openTheUrgentItems(MyStepdefs.java:100)
	at ✽.And open the urgent items(/Users/IdeaProjects/iOS/src/main/java/Features/Hello_MacDesktop_Demo.feature:20)```
@harishk5 harishk5 changed the title Unable to perform click on element with tag AXCell Unable to click on element with tag AXCell Jun 9, 2020
@MarwanAbuAssi
Copy link

Any workaround for this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants