You open a payment form. The card field is right there on the screen. Every selector you try for it returns nothing. You check the spelling again and again. Teams often lose an afternoon to this.
The field was inside an iframe, and that is one of the most confusing failures in Selenium precisely because everything looks correct.
An iframe is a whole separate document embedded in the page. It has its own DOM. When you search for an element, Selenium searches the document it is currently focused on, and by default that is the main page. Elements inside a frame are invisible to that search, even though they are visible to you.