From bade4dcbe2279415f0194c0873be081ed71f167d Mon Sep 17 00:00:00 2001 From: Scott Sutherland <38484948+scott-nz@users.noreply.github.com> Date: Fri, 10 Nov 2023 13:42:59 +1300 Subject: [PATCH] remove FacebookWebDriver check as Selenium2Driver has functionality now --- src/Utility/DebugTools.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Utility/DebugTools.php b/src/Utility/DebugTools.php index 6fa2a7c..a4789bc 100644 --- a/src/Utility/DebugTools.php +++ b/src/Utility/DebugTools.php @@ -133,10 +133,6 @@ trait DebugTools { // 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();