views:

2008

answers:

3

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?

+1  A: 

waitForCondition
var value = selenium.getText("foo"); value.match(/bar/);
3000
01
When I attempt to do this through the IDE the field for "waitForCondition" is greyed out, and target and value fields cannot be edited. Am I attempting to use this in the wrong way?
Grundlefleck
Never mind, I'm a moron :)
Grundlefleck
A: 

is the really the answer to that? for IDE or thats a code your write in rc?

anon
A: 

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

Dave