質問

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?

役に立ちましたか?

解決

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"]
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top