remove FacebookWebDriver check as Selenium2Driver has functionality now (#256)

This commit is contained in:
Scott Sutherland 2023-11-14 16:56:53 +13:00 committed by GitHub
parent 6c962ef294
commit d40fa9848f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();