Skip to content

Commit

Permalink
remove FacebookWebDriver check as Selenium2Driver has functionality n…
Browse files Browse the repository at this point in the history
…ow (#256)
  • Loading branch information
scott-nz authored Nov 14, 2023
1 parent 6c962ef commit d40fa98
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 d40fa98

Please sign in to comment.