You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great when running any of the wait functions like waitForUrl() if you could pass in a timeout as an argument which would then be passed to the options argument.
Currently the best way I can think of to extend the timeout is to update the page object like this:
page.setDefaultTimeout( 60000 ); // set default timeout to 60 seconds
The only downside of the workaround is that it sets the default timeout for everything. There may be instances where you want to use the standard timeout for most behavior, but submitting a page may require a longer timeout than the default.
The text was updated successfully, but these errors were encountered:
It would be great when running any of the wait functions like
waitForUrl()
if you could pass in a timeout as an argument which would then be passed to the options argument.Currently the best way I can think of to extend the timeout is to update the
page
object like this:The only downside of the workaround is that it sets the default timeout for everything. There may be instances where you want to use the standard timeout for most behavior, but submitting a page may require a longer timeout than the default.
The text was updated successfully, but these errors were encountered: