在Selenium IDE中使用waitForCondition(script,timeout) [英] Using waitForCondition ( script,timeout ) in Selenium IDE
本文介绍了在Selenium IDE中使用waitForCondition(script,timeout)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
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屋!
查看全文