使用Selenium IDE键入IFrame [英] Typing in a IFrame with Selenium IDE

查看:176
本文介绍了使用Selenium IDE键入IFrame的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用Selenium IDE在IFrame中输入内容,但我不知道该怎么做。

I'd like to type something in a IFrame with Selenium IDE but I don't know how to do this.

非常感谢!

推荐答案

您必须选择iframe,然后输入

You have to select the iframe and then type

selenium.selectFrame("css=iframe.widget[<a_css_identifier>]");
selenium.type(<your_object_or_text_box>, <typed_content>);

语句在java中,但你应该能够找到 selectFrame 在IDE中键入

The statements are in java, but you should be able to find selectFrame and type in the IDE.

这篇关于使用Selenium IDE键入IFrame的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆