I’m attempting to determine what elements are present on a given page using the python bindings. Ideally I’d like to know the number of elements that exist on a given page and the xpath (and/or location) of the elements. I’m aware that the Appium Inspector can assist me with this, but I’ve got dynamically created cells which I’d like to keep track of during an Appium test. Thanks in advance for any assistance!
I suppose you want to find present elements which don’t contain any other elements, right?
Just write Python, which goes though each node recursively until endpoint and store elements to array or whatever.