How to increase Selenium grid session timeout?
I finally figured it out!
Solution is actually very easy: nodes needs to be restarted after configuration changed on the hub.
It is not really obvious:
When I changed configuration on the hub, then I restarted it. Node would re-register with the hub automatically. Then looking at the console, I can see new configuration parameters taking effect. Even more, as I'm looking at the node configurations, I see same parameters changed on the nodes. That's misleading! Because even though nodes re-registered, but their configuration has NOT been changed. It only changes, when node is restarted, too. I think, this is Selenium bug - node should re-configure during re-registration.
C#driver = new RemoteWebDriver(new Uri("http://host:4444/wd/hub"), capabilities);driver.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromSeconds( desired_time ));
P.S. I'm using Selenium grid 2.53 and firefox 46.0