Permalink
Browse files

- Merge [4588].

  • Loading branch information...
1 parent 42c7fed commit f9e3332d91e54c8092e02829dbaa30071694243f @sebastianbergmann committed Jan 31, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 PHPUnit/Extensions/SeleniumTestCase.php
@@ -383,7 +383,7 @@ protected function runTest()
if ($this->captureScreenshotOnFailure &&
!empty($this->screenshotPath) && !empty($this->screenshotUrl)) {
- $this->captureScreenshot(
+ $this->drivers[0]->captureScreenshot(
$this->screenshotPath . DIRECTORY_SEPARATOR . $this->testId . '.png'
);

0 comments on commit f9e3332

Please sign in to comment.