Using waitForCondition (script, timeout) in Selenium IDE

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

+4
source share
2 answers
waitForCondition var value = selenium.getText("foo"); value.match(/bar/); 3000 
+4
source

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

+1
source

All Articles