I can't get these screenshots working for the life of me:
- The directories exist
- The test executes (and fails) as expected
- I'm using Firefox (14.1)
- Read the docs (only a few paragraphs)
- I've read everything I can find:
Should be pretty simple, but there's no error messages, nothing. Can anyone shed some light before I start digging into the source?
class ScreenshotTest extends PHPUnit_Extensions_Selenium2TestCase {
protected $captureScreenshotOnFailure = TRUE;
protected $screenshotPath = 'C:\\';
protected $screenshotUrl = 'http://127.0.0.1/';
protected function setUp()
{
$this->setBrowser('firefox');
$this->setBrowserUrl('http://127.0.0.1/');
}
public function testTitle()
{
$this->url('http://127.0.0.1');
$this->assertEquals('foobarbaz', $this->title());
} }