Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Using waitForCondition ( script,timeout ) in Selenium IDE

Tags:

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?

like image 349
avernet Avatar asked Feb 02 '09 20:02

avernet


2 Answers


waitForCondition
var value = selenium.getText("foo"); value.match(/bar/);
3000
like image 153
IAdapter Avatar answered Sep 30 '22 14:09

IAdapter


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

like image 40
Dave Avatar answered Sep 30 '22 15:09

Dave