We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 649b0a9 commit fed876eCopy full SHA for fed876e
src/Client.php
@@ -15,6 +15,7 @@
15
16
use Facebook\WebDriver\Exception\NoSuchElementException;
17
use Facebook\WebDriver\Exception\TimeoutException;
18
+use Facebook\WebDriver\Exception\WebDriverCurlException;
19
use Facebook\WebDriver\JavaScriptExecutor;
20
use Facebook\WebDriver\Remote\RemoteWebDriver;
21
use Facebook\WebDriver\WebDriver;
@@ -107,7 +108,11 @@ public function __wakeup(): void
107
108
109
public function __destruct()
110
{
- $this->quit();
111
+ try {
112
+ $this->quit();
113
+ } catch (WebDriverCurlException) {
114
+ // ignore
115
+ }
116
}
117
118
public function start(): void
0 commit comments