sebastianbergmann/phpunit — Issue #375: Selenium: HTTP timeout not read from the XML configuration file
Author: Phipro
Created: 2011-10-13 08:33:34+00:00
State: open

During Selenium test cases, two types of time out are used. "Timeout" is forwarded to Selenium server and it used to wait for system under test response. "httpTimeout" is used by PHPUnit to wait for Selenium server response.

SeleniumTestCase::getDriver method initializes the set of Selenium test parameters. In this list we can find the HTTP timeout one ($browser['httpTimeout']. Configuration::getSeleniumBrowserConfiguration do not read the httpTimeout attribute from the XML configuration file. So this value is always set to the default value.

Could it be a valuable enhancement to allow the setup of the HTTP timeout value directly in the XML configuration file as follow: