node.js selenium-webdriver 设置连接超时

Pau*_*lva 5 selenium webdriver node.js

我正在使用selenium-webdriver与 Selenium 网格交互。

当与 Selenium Grid 的连接超时时,会抛出异常(ETIMEDOUT)。

我需要的是将连接超时值调整为较低的值(我不是在谈论页面加载和其他超时),但我找不到如何调整。