mobile-dev-inc / maestro

Painless Mobile UI Automation
https://maestro.mobile.dev/
Apache License 2.0
5.88k stars 281 forks source link

Configure HTTP client timeout #1490

Open dansimau opened 1 year ago

dansimau commented 1 year ago

I am making a HTTP request using the HTTP client as per here: https://maestro.mobile.dev/advanced/javascript/make-http-s-requests

This request fires an async job in our system which takes a few minutes to complete. However, Maestro is exiting with:

org.mozilla.javascript.WrappedException: Wrapped java.net.SocketTimeoutException: Read timed out (scripts/exec.js#5)

Is there any way to increase/set the timeout?

basevik commented 1 week ago

Running into the same issue. Is this currently configurable? Not finding anything in the docs.