Python 3.11
Selenium 4.38
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?