Skip to content

Commit

Permalink
Merge branch '4.11' into 4
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Nov 18, 2023
2 parents 0d3e4a9 + d40fa98 commit 6c9692a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Utility/DebugTools.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,6 @@ public function takeScreenshot(StepScope $event)
{
// Validate driver
$driver = $this->getSession()->getDriver();
if (!($driver instanceof FacebookWebDriver)) {
$this->logMessage('ScreenShots are only supported for FacebookWebDriver: skipping');
return;
}
$feature = $event->getFeature();
$step = $event->getStep();
$path = $this->prepareScreenshotPath();
Expand Down

0 comments on commit 6c9692a

Please sign in to comment.