Trouble Identifying and Interacting with Elements in WebView Using Appium for In-App Card Form

Hello everyone,

I’m currently working on an Appium automation project, and I’m facing a challenge in identifying elements on the screen. After entering the card number, the app is supposed to display four additional fields. However, I’m having difficulty pinpointing these elements using getPageSource() .

I’ve shared the XML hierarchy, and it seems there might be a WebView involved. Despite going through the hierarchy, I’m struggling to locate the new fields that appear. Could you please assist me in understanding the structure of the XML hierarchy, specifically the elements related to the fields that show up after entering the card number?

If anyone has encountered a similar scenario with embedded forms and WebViews in Appium, I’d greatly appreciate any insights on how to identify and interact with these elements.

Thank you all for your assistance! :pray: