0

i've just started using appium with python and i'm a bit confused about getting and element by ID. In the appium inspector, i have this elementID

enter image description here

Following appium's documentation, i tried this

fin = driver.find_elements(
                AppiumBy.ACCESSIBILITY_ID,
                "00000000-0000-03c4-ffff-ffff000000c5",
            )

            action_user.tap(fin).perform()

But it didn't work. I also tried it as "android:id/00000000-0000-03c4-ffff-ffff000000c5". But nothing happen. Is there another way to get this element by the ID?

José Carlos
  • 626
  • 3
  • 23
  • 1
    This id would never work as it always changes. Try to locate a unique identifier. Check https://www.browserstack.com/guide/locators-in-appium – Sammar Ahmad Dec 09 '22 at 13:47

0 Answers0