We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bdcafd commit 4fdf441Copy full SHA for 4fdf441
src/Magento/FunctionalTestingFramework/Module/MagentoWebDriver.php
@@ -843,14 +843,15 @@ public function makeScreenshot($name = null)
843
public function checkSeleniumServerReadiness()
844
{
845
try {
846
- RemoteWebDriver::create(
+ $driver = RemoteWebDriver::create(
847
$this->wdHost,
848
$this->capabilities,
849
$this->connectionTimeoutInMs,
850
$this->requestTimeoutInMs,
851
$this->httpProxy,
852
$this->httpProxyPort
853
);
854
+ $driver->close();
855
} catch (WebDriverCurlException $e) {
856
throw new TestFrameworkException(
857
"Can't connect to Webdriver at {$this->wdHost}.\n"
0 commit comments