appium / appium-mac2-driver

Next-gen Appium macOS driver, backed by Apple XCTest
Apache License 2.0
125 stars 24 forks source link

Unable to locate the Element using DOM Identifier in the XPath. #121

Closed Karthikeyan021298 closed 1 year ago

Karthikeyan021298 commented 2 years ago

Hi,

I have been trying to find the Element using DOM Identifier attribute ( DOM Identifier : 0_simRing) in the XPath, but it is throwing the "no such element error" in Mac2 driver session. I have attached inspected element details, can you please help me on this.

Thank you, Karthikeyan

Screenshot 2022-03-12 at 9 57 23 PM
mykola-mokhnach commented 2 years ago

Make sure the destination element is present in the page source returned by the driver. If it is not there then it must be an XCTest issue, which only Apple could address.

Karthikeyan021298 commented 2 years ago

Thank you for the quick response. Like as you said the destination element is not in the Page source, will try to reach out to Apple or the coressponding application. Thank you once again..