set_wait_params
set_wait_params($Try_Navigate_Second=-1,$Try_Navigate_Count=-1); - set default wait parameters for the function wait_for();. The wait_for function is built into all human commands related to navigation. This function allows you to set parameters that will be passed to this function in all internal calls.
the input Function accepts parameters:
$Try_Navigate_Second – the time allowed for one navigation attempt (in seconds). At -1, reset to the default value.$Try_Navigate_Count – number of navigation attempts. At -1, reset to the default value.
After testing, the function returns the result of its work to the script :
true – successfully waited, navigation was drained
false – navigation failed