Skip to content

Commit d408f48

Browse files
author
Nils Langner
authored
Merge pull request #49 from ksiv/patch-1
Update VisualCeption.php
2 parents d414db2 + ed1aa06 commit d408f48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/VisualCeption.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ private function createScreenshot($identifier, array $coords, array $excludeElem
323323
if( !is_dir($screenShotDir)) {
324324
mkdir($screenShotDir, 0777, true);
325325
}
326-
$screenshotPath = $screenShotDir . 'fullscreenshot.tmp.png';
326+
$screenshotPath = $screenShotDir . getmypid() .'.fullscreenshot.tmp.png';
327327
$elementPath = $this->getScreenshotPath($identifier);
328328

329329
$this->hideElementsForScreenshot($excludeElements);

0 commit comments

Comments
 (0)