Python Forum
How to find which frame/iframe my element belongs to? - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html)
+--- Thread: How to find which frame/iframe my element belongs to? (/thread-22571.html)



How to find which frame/iframe my element belongs to? - smaria - Nov-18-2019

Hi,

I'm using the Selenium package with Python to navigate to a job console on my workspace and read the statuses of jobs being processed.

I've managed to reach the Job Console page but am unable to access the table present there. Most sites mention that the 'NoSuchElementFound' exception is due to not being in the correct frame/iframe.

I've tried inspecting the page elements but how do I find out under which frame my element belongs to?


RE: How to find which frame/iframe my element belongs to? - Larz60+ - Nov-18-2019

hard to say without seeing the code