Google chrome Chrome非活动选项卡超时油门
默认情况下,Chrome的最小非活动选项卡超时限制设置为1秒 在我工作的公司中,有几个使用远程控制的传统Selenium测试 上次Chrome更新(39)后,我们注意到Google chrome Chrome非活动选项卡超时油门,google-chrome,selenium,selenium-rc,Google Chrome,Selenium,Selenium Rc,默认情况下,Chrome的最小非活动选项卡超时限制设置为1秒 在我工作的公司中,有几个使用远程控制的传统Selenium测试 上次Chrome更新(39)后,我们注意到DefaultSelenium的方法start打开Remote Runner,因此在单独的选项卡中打开/selenium server/core/Blank.html,而不是在新窗口中打开。所以远程运行程序选项卡变得不活动,测试执行变得非常缓慢 如何将Google Chrome timeout throttle设置为较低的值?或者
DefaultSelenium
的方法start
打开Remote Runner,因此在单独的选项卡中打开/selenium server/core/Blank.html,而不是在新窗口中打开。所以远程运行程序选项卡变得不活动,测试执行变得非常缓慢
如何将Google Chrome timeout throttle设置为较低的值?或者我可以如何在新窗口中远程控制open/selenium server/core/Blank.html?我们最终改变了selenium htmlits.js文件中的一个函数,以强制Chrome在新窗口中打开应用程序 之前:
var-appWindow=window.open(url+'?start=true','selenium\u main\u app\u window')代码>
之后:
var-appWindow=window.open(url+'?start=true',selenium\u main\u app\u window',menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes')代码>