Re: [5. Sessions] Question regarding timeouts

John,

That is exactly it.

David

On 25 June 2015 at 16:33, John Jansen <John.Jansen@microsoft.com> wrote:

> Thanks David.
>
> >> We are expected to do one pass when it is 0 (which will be discussed in
> findElement when it rewritten (again)).
> >> What we really need is to have the find element documented properly.
>
> Since I am implementing it right now, I just want to clarify.
>
> If (timeout == 0) // which is the default value
>         Do one pass across the page and stop when either
>                 You find the element or
>                 You Search the entire page
> else // timeout is set explicitly
>         Do repetitive passes across the page and stop when either
>                 You find the element or
>                 The timeout is reached
>

Received on Thursday, 25 June 2015 16:41:38 UTC