RE: [5. Sessions] Question regarding timeouts

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 15:34:23 UTC