Pergunta

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?

Foi útil?

Solução

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"]
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top