Display results as :

Rechercher Advanced Search

Latest topics
» Selenium WebDriver Integration
Today at 1:06 pm by azharuddin

» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce


I can't locate any element in a form under an iFrame with Selenium IDE

View previous topic View next topic Go down

I can't locate any element in a form under an iFrame with Selenium IDE

Post by idles23 on Tue Apr 14, 2015 3:38 pm

Hi, I'm new at this forum and I need your help as soon as possible because I'm having lots of troubles with Selenium IDE.

I have to record a script with the IDE in a web application that has lots of iFrames, DIV tags and JavaScript scripts. In my script, all works well until this point:

<td>my URL</td>
<td>An option menu</td>

So I can select myFrameID and catch the body inside in, but under the <body> tag, I have a <form> and I need to locate a text that are inside a <div> tag in that <form>. But Selenium IDE doesn`t locate anything, neither the <form>.

I hope your answers, thank you and help me please!!


Posts : 1
Join date : 2015-04-14

Back to top Go down

Re: I can't locate any element in a form under an iFrame with Selenium IDE

Post by dwdunning on Sat Apr 25, 2015 5:54 am

I'm new to this myself, but maybe the css locators will help

you can look by ID with the hash symbol #


or by class with a period .


or by anything in the string with contains

css=div:contains("Text I'm Looking for")

if you have need to narrow down, you can combine these

css=tr:contains("Name") .input

would give you the element with class=input in the same Table Row as the label "Name"

your example might look like

css=div:contains("text to locate")


Posts : 1
Join date : 2015-04-25

Back to top Go down

View previous topic View next topic Back to top

Permissions in this forum:
You cannot reply to topics in this forum