File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 3232use Facebook \WebDriver \Exception \InvalidElementStateException ;
3333use Facebook \WebDriver \Exception \InvalidSelectorException ;
3434use Facebook \WebDriver \Exception \NoSuchElementException ;
35+ use Facebook \WebDriver \Exception \UnknownErrorException ;
3536use Facebook \WebDriver \Exception \UnknownServerException ;
3637use Facebook \WebDriver \Exception \WebDriverCurlException ;
3738use Facebook \WebDriver \Interactions \WebDriverActions ;
@@ -1533,6 +1534,8 @@ public function _closeSession($webDriver = null)
15331534 unset($ webDriver );
15341535 } catch (UnknownServerException $ e ) {
15351536 // Session already closed so nothing to do
1537+ } catch (UnknownErrorException $ e ) {
1538+ // Session already closed so nothing to do
15361539 }
15371540 }
15381541
You can’t perform that action at this time.
0 commit comments