Unable to locate element exception in selenium Python..Help me with error..!

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/selenium

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • JetBrains - Developer Ecosystem Survey 2022
  • SonarQube - Static code analysis for 29 languages.
  • Selenium WebDriver

    A browser automation framework and ecosystem.

    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.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts