Had the same issue last week! Turns out the element was loading after my script checked for it.
Here’s what worked for me:
1. Added a try-catch with a loop to retry finding the element a few times.
2. Used `execute_script` to scroll the element into view first.
Sometimes selenium find element fails ‘cause the element isn’t *visible* yet, even if it’s in the DOM.
Here’s what worked for me:
1. Added a try-catch with a loop to retry finding the element a few times.
2. Used `execute_script` to scroll the element into view first.
Sometimes selenium find element fails ‘cause the element isn’t *visible* yet, even if it’s in the DOM.
