In Protractor tests I call many times browser.wait
method for example to wait once the particular element will appear on the screen or it will be clickable.
In many cases tests passes on my local machine, but does not on other. I receive very generic information about the timeout which doesn't help me a lot to debug / find a source of issue.
Is it possible to make a browser.wait
more verbose, for example:
- if at least
defaultTimeoutInterval
will elapse when waiting for particular element, will it be possible toconsole.log
information about the element that it tried to wait for, - take a screenshot when the timeout error occurs,
- provide full call stack when timeout appears in
browser.wait