在Selenium IDE中使用waitForCondition(script,timeout) [英] Using waitForCondition ( script,timeout ) in Selenium IDE

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

问题描述

我记录了一个使用Firefox的Selenium IDE扩展的脚本,我想添加命令waitForCondition。我看到它有两个参数:脚本和超时。在Selenium IDE中,每个命令都有3个文本字段:命令名(我假设为waitForCondition),目标和值。在哪里以及如何将这两个参数放在这个用户界面?

解决方案

  
waitForCondition
var value = selenium.getText(foo); value.match(/棒/);
3000


I recorded a script using the Selenium IDE extension for Firefox, and I would like to add the command waitForCondition. I see it takes two arguments: script and timeout. In Selenium IDE, I have 3 text fields for each command: the command name (I assume "waitForCondition"), the target, and the value. Where and how should I put the two arguments in this UI?

解决方案


waitForCondition
var value = selenium.getText("foo"); value.match(/bar/);
3000

这篇关于在Selenium IDE中使用waitForCondition(script,timeout)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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