Hi,
Can you tell me what is the difference between the Method WaitForAjax() and this snippet:
I always thought that WaitForAjax() should do the same, but there are situations where it doesn´t wait (long enough) but this snippet does.
Kind regards
Silvio
Can you tell me what is the difference between the Method WaitForAjax() and this snippet:
browser.Manager.Wait.For (c =>
browser.Actions.InvokeScript<
bool
> (
"Sys.WebForms.PageRequestManager.getInstance().get_isInAsyncPostBack()"
) ==
false
,
false
, timeout);
I always thought that WaitForAjax() should do the same, but there are situations where it doesn´t wait (long enough) but this snippet does.
Kind regards
Silvio