I am running \\PHPUnit_Extensions_Selenium2TestCase
to run tests which move the mouse and make clicks ($this->moveto
). For improved debugging an
Execute a javascript after each page load which enabled the mouse cursor display.
/**
* Enable mouse cursor display
*/
protected function enableCursor()
{
$this->execute(array('script' => << array()));
}
This depends on JQuery beeing loaded in the target page - another solution , without the fancy animation, is also possible.