Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
elements because of this. I looked into how the find_elements(By by) method actually works in the Github to determine how they are returning the child elements (whether it was searching recursively through all children or just the direct children of this element) but I couldn't find where this was defined. I suggest that you make your PATH1 xpath point to the or that contains the elements that you want to collect into the 'items' list. Also as u/datarobot said try to shorten your xpath as much as you can, find a closer ID tag and route from there. If you can't find a closer ID tag perhaps a resource like this can help you better focus your xpath to your target.