FuckTheWorld / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

Renderer timeout should be customizable #1108

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
One should be able to configure how much time is "enough" to consider the 
rendered as hanged.

https://chromium.googlesource.com/chromium/src.git/+/master/chrome/test/chromedr
iver/chrome/devtools_client_impl.cc : 256 (Currently hardcoded in 10 minutes)

So that you can pass this as command line param to chromedriver.

Consider a test where you're actually testing that the program under test 
SHOULD hang under a certain condition (like an infinite loop). (In this case 
the "rendered" -chromium- won't be able to "reply" because it's actually hanged)

Customizing this timeout helps to integrate this kind of tests in CI.

Original issue reported on code.google.com by christia...@gmail.com on 26 May 2015 at 4:17

GoogleCodeExporter commented 9 years ago

Original comment by gmanikp...@chromium.org on 26 May 2015 at 6:35