[cse491] making Selenium "sleep"

Phil Deschaine deschai5 at gmail.com
Wed Dec 2 19:15:17 PST 2009


Oh, and also, don't use verifyText.  It won't work.  Use verifyTextPresent.

-Phil

On Wed, Dec 2, 2009 at 10:11 PM, Phil Deschaine <deschai5 at gmail.com> wrote:

> I just spend several hours trying to figure out how to make selenium
> sleep.  Commands like clickAndWait wouldn't work for my purposes (and
> probably wont for yours, but I don't know).  Well as it turns out, the
> command you want is *pause*.
>
> for example, to pause for 1 second:
>
> <tr>
>     <td>pause</td>
>     <td>1000</td>
>     <td></td>
> </tr>
>
> Hopefully that saves someone some time.
> -Phil
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/cse491-fall-2009/attachments/20091202/74b9b78e/attachment.htm>


More information about the cse491-fall-2009 mailing list