Re: Implicit Wait

On 19/10/16 00:00, Andreas Tolfsen wrote:
> Brian Burg <bburg@apple.com> writes:
>
>> I am not a fan of the implicit wait system. It's completely redundant
>> with some basic polling logic in a client library. They are maybe the
>> most obnoxious inversion between driver and library responsibility in
>> the entire protocol.
>
> I agree with these points, but it’s worth noting that a pure local end
> poll will increase the number of roundtrips significantly, which has
> a more adverse effect if your test is running in a server centre in
> California and you are in India, than if they both run on the same
> local system.

FWIW a good implementation could avoid polling using executeAsyncScript 
and mutation listeners to perform the wait in a single call.

Received on Wednesday, 19 October 2016 07:33:13 UTC