Python Forum
How to find which frame/iframe my element belongs to?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to find which frame/iframe my element belongs to?
#1
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?
Reply
#2
hard to say without seeing the code
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to find element in a deeply nested html structure Orientation_group 5 1,181 Oct-09-2023, 10:13 AM
Last Post: Larz60+
  Selenium suddenly fails to find element Pavel_47 3 6,200 Sep-04-2022, 11:06 AM
Last Post: Pavel_47
  Find element using xpath engli 3 3,885 May-20-2020, 08:56 AM
Last Post: Larz60+
  selenium click in iframe fails 3Pinter 6 5,023 Apr-29-2020, 12:59 PM
Last Post: Larz60+
  find element...click() dont work windows11 6 3,078 Apr-23-2020, 11:13 PM
Last Post: law
  Find Dynamic Input Element Class Problem wazacko 0 1,575 Apr-03-2020, 11:46 AM
Last Post: wazacko
  bypassing find element click() windows11 1 1,836 Apr-02-2020, 11:55 AM
Last Post: Larz60+
  How find link element zinho 3 3,079 Mar-31-2020, 12:29 PM
Last Post: snippsat
  Looping actions in an iframe using Selenium on Python amyd 3 2,966 Mar-06-2019, 08:31 PM
Last Post: Larz60+
  scraping with multiple iframe jansky 1 4,166 Nov-09-2018, 11:12 AM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020