Re: [5. Sessions] Question regarding timeouts

On 24 Jun 2015, at 12:11, John Jansen <John.Jansen@microsoft.com> wrote:
> In the current spec[1] it says, "A session has an associated session implicit wait timeout that specifies a time to wait for the implicit element location strategy when locating elements using find element and find elements. Unless stated otherwise it is zero milliseconds."
> 
> What is not clear to me is whether it is expected that we do one pass over the document, and if the element is not found, we stop. Or if we continue to make passes over the document until the timeout is reached (or an element is found). My expectation is that we continue to make passes over the document, but I want to make sure.

The intention is to have it do a single pass and then return the result when the session implicit wait timeout is 0, just like you say.

I think we could make this clearer, but I think it’s further confused by the fact that the element location strategy hasn’t really been ironed out yet.

Received on Wednesday, 24 June 2015 19:18:11 UTC