Merge branch '4.11' into 4

This commit is contained in:
github-actions 2023-11-18 14:23:17 +00:00
commit 6c9692a4b6

View File

@ -133,10 +133,6 @@ trait DebugTools
{ {
// Validate driver // Validate driver
$driver = $this->getSession()->getDriver(); $driver = $this->getSession()->getDriver();
if (!($driver instanceof FacebookWebDriver)) {
$this->logMessage('ScreenShots are only supported for FacebookWebDriver: skipping');
return;
}
$feature = $event->getFeature(); $feature = $event->getFeature();
$step = $event->getStep(); $step = $event->getStep();
$path = $this->prepareScreenshotPath(); $path = $this->prepareScreenshotPath();