I´m using the Selenium IDE for Firefox and searching for a wait command. My problem is that I want to test a website with a embedded external map. This external map needs 3-5 seconds to load.
My commands:
open /Page/mysite.html
//Wait Command? (5 seconds)
ClickAndWait link=do something
Before the command
clickAndWait
add the following code so the script will wait until the specific link to be visible:The practice of using the wait commands instead of pause is most of the times more efficient and more stable.
For those working with
ant
, I use this to indicate a pause of 5 seconds:That is,
target: 5000
andvalue
empty. As the reference indicates:In Chrome, For "Selenium IDE", I was also struggling that it doesn't pause. It will pause, if you give as below:
This will pause for 10 seconds.
Use the pause command. Set speed to fastest (Actions --> Fastest), otherwise it won't work.