Python Forum

Full Version: How to find which frame/iframe my element belongs to?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
hard to say without seeing the code