Skip to content

Commit 4fdf441

Browse files
committed
MQE-1257: MFTF Troubleshoot command
1 parent 7bdcafd commit 4fdf441

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -843,14 +843,15 @@ public function makeScreenshot($name = null)
843843
public function checkSeleniumServerReadiness()
844844
{
845845
try {
846-
RemoteWebDriver::create(
846+
$driver = RemoteWebDriver::create(
847847
$this->wdHost,
848848
$this->capabilities,
849849
$this->connectionTimeoutInMs,
850850
$this->requestTimeoutInMs,
851851
$this->httpProxy,
852852
$this->httpProxyPort
853853
);
854+
$driver->close();
854855
} catch (WebDriverCurlException $e) {
855856
throw new TestFrameworkException(
856857
"Can't connect to Webdriver at {$this->wdHost}.\n"

0 commit comments

Comments
 (0)