Selenium/Python - cannot find an element
07:40 03 Dec 2025

Python 3.11
Selenium 4.38

For the following URL: https://www.amazon.es/-/en/Womens-Lace-up-Comfortable-Anti-Slip-SDMB2203W/dp/B0B5CX9VZY?crid=38KRT87HATNYP&dib=eyJ2IjoiMSJ9.k3bSvDmWGQhrmj0j6wtNPjlLsVIlHdu2ApuEfRxS_JwkYW61vEs7K9Sw-vQFJLGxWLq1tDsyFniPK_883S4sMjl_R7Dl4qHKeutaItDgt2h4N9NCGWoB8S56bDEtDze9AkM1QIkXsBXLLRp-NrgAqaxj8IKlwW1GlL_vSCkkqTyZZ__zimoIrbt8iDbwlNhpyHDOwIyW4dRf0hJPYbC6zzYoUbpJYVrZl87hAvhzHLwq_1OGS3XydyOBIUInYiOuTfeZugue-ujIQszp2pif-zdGozFYYV_6yLQ6C7Kgxak.o8dsDoMopCg8WtcCj3reyvCPcAZ3U0ecWPbon-9Ri_I&dib_tag=se&keywords=botas&qid=1764766762&sprefix=botas%2Caps%2C68&sr=8-8&th=1&psc=1

On the right hand side of the page it says "Dispatches From" and "Amazon".

I'm writing a Selenium script to try to find pages where that field doesn't say Amazon, however Selenium cannot find that element in order to read it.

Class: "a-size-small offer-display-feature-text-message" << that space in 'small offer' causes a compound class name error, which does not resolve by inserting a period.

CSS Selector: "#fulfillerInfoFeature_feature_div > div.offer-display-feature-text.a-size-small > div.offer-display-feature-text.a-spacing-none.odf-truncation-popover > span" << does not find element.

XPath: '//*[@id="fulfillerInfoFeature_feature_div"]/div[2]/div[1]/span' << does not find element.

Full XPath: "/html/body/div[1]/div[1]/div/div[2]/div[2]/div[2]/div/div/div[2]/div[5]/div/div[1]/div/div/div/form/div/div/div/div/div[4]/div/div[21]/div/div/div[1]/div/div[2]/div[2]/div[1]/span" << does not find element.

There doesn't appear to be a relevant iframe in play (there are iframes but I don't see that they apply to this element), and I don't see any shadow DOM.

How can I grab this element via Selenium?

python python-3.x selenium-webdriver selenium-chromedriver