Selenium Webdriver Not Finding Xpath Despite Seemingly Identical Strings
This question is related to my previous two: Inducing WebDriverWait for specific elements and Inconsistency in scraping through
's in Selenium. I am scraping all of the
Solution 1:
I found the problem. The xpath was fine, but after the first 4-5 elements, the images are lazy-loaded. This means that a different solution must be reached in order to scrape these images. It's not that they take too long to load, it's that they just load placeholders in the HTML.
Post a Comment for "Selenium Webdriver Not Finding Xpath Despite Seemingly Identical Strings"