sebastianbergmann/phpunit-selenium — Issue #102: Enable Selenium test developers to provide meaningful timeout error messages
Author: pierri
Created: 2012-02-28 12:26:15+00:00
State: open

As a developer writing PHPUnit_Selenium tests, I would like to provide meaningful error messages when a time out occurs during a waitForCommand.

Currently when a timeout occurs e.g. in method waitForTextPresent('My text');, the only error message I get is "timeout". I would like to be able to specify an error message by writing e.g. waitForTextPresent('My text', 'Timeout while waiting for my result to appear');