how to increase the selenium http timeout through nightwatch

780 views
Skip to first unread message

PD_GD

unread,
Jun 18, 2015, 5:38:51 PM6/18/15
to nightw...@googlegroups.com
we are running the night watch tests through saucelabs on IOS VMs. The problem is that unlike other platforms, this VM takes a long time to boot and open the browser to carry on the tests. Quite often the time taken is long enough for the selenium to time out causing the test to fail for timeouts. How do I increase the timeout for selenium used by nightwatch?

thanks

davidlinse

unread,
Jun 19, 2015, 6:02:11 AM6/19/15
to nightw...@googlegroups.com
please refer to the documentation..

regards
~david

Rajesh Narayanappa

unread,
Jan 3, 2018, 1:42:24 PM1/3/18
to NightwatchJs
Hi 
I know its been two years. Have you managed to get around this. I see same problem for my tests. I want to run nightwatch tests in saucelab on safari browser of ios. I could see it opens app, something get downloaded and browser opens. after that step, tests fail. I could not find exact reason. I tried giving timeouts like below. It did not work. Any help pls

"request_timeout_options": {
"timeout": 200000
},
Reply all
Reply to author
Forward
0 new messages