39

Internet speed at work is very limited, and because of this I can't load several useful pages, like Trello, Bitbucket, Slack and so on.

Chrome console shows me a long list timeout errors like GET https://..... net::ERR_TIMED_OUT.

I was wondering if there is any way to change timeout settings in Chrome.

dolma33
  • 4,133
  • 6
  • 28
  • 48

3 Answers3

63
  • Chrome: It is not possible to change the timeout settings in Chrome.
  • Firefox: You can set the value of network.http.connection-timeout in about:config
  • IE: It's possible to change the timeout behavior in the windows registry.
  • Safari: There is a safari extension SafariNoTimeout to extend the timeout from 60s to 10min.
mojoaxel
  • 1,440
  • 1
  • 14
  • 19
  • 2
    so we shouldn't automate tests in Chrome that takes more than 5 mins to look for resources? Chrome devs should look into this – Heike May 18 '20 at 17:18
2

I had this problem, and have figured out a way to avoid it.

Use fetch!

I do not exactly know why this works, but it does. We use swagger when testing our api's, and saw that it never times out.

That lead us to try converting our xhr-request into a fetch-request, in addition to expanding our gateway-timeout etc.

And it works! Chrome doesn't timeout after a minute.

  • 1
    What exactly does that statement "use fetch" mean in the context of using Chrome as an end user? Not sufficient as an answer, in my opion. – kitekat Oct 08 '22 at 10:50
0

update 24-10-2022: webBrowser = new ChromeDriver(chromeDriverService, chromeOptions, TimeSpan.FromMinutes(5));