Question

I am trying to automate a web-app the uses iFrames using Selenium v2.5.

Clicks on the base page record fine, but any clicks/actions to elements on the iFrames on that base page are ignored.

How can I get the IDE to follow me there?

Was it helpful?

Solution

You can use selectFrame to select different frames and select them by name or relatively travel them.

For instance something like:

Command        Target                    Value
-------        ------                    -----
selectFrame    name=iframe1
type           id=myInput                foobar
selectFrame    relative=up
click          css=input[type="submit"]
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top