File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2525 "codeception/codeception" : " ^5.0.8" ,
2626 "codeception/lib-web" : " ^1.0.1" ,
2727 "codeception/stub" : " ^4.0" ,
28- "php-webdriver/webdriver" : " ^1.8 .0" ,
28+ "php-webdriver/webdriver" : " ^1.14 .0" ,
2929 "phpunit/phpunit" : " ^10.0 || ^11.0"
3030 },
3131 "suggest" : {
Original file line number Diff line number Diff line change 3535use Exception ;
3636use Facebook \WebDriver \Cookie ;
3737use Facebook \WebDriver \Cookie as WebDriverCookie ;
38+ use Facebook \WebDriver \Exception \Internal \UnexpectedResponseException ;
3839use Facebook \WebDriver \Exception \InvalidElementStateException ;
3940use Facebook \WebDriver \Exception \InvalidSelectorException ;
4041use Facebook \WebDriver \Exception \NoSuchElementException ;
4142use Facebook \WebDriver \Exception \UnknownErrorException ;
42- use Facebook \WebDriver \Exception \WebDriverCurlException ;
4343use Facebook \WebDriver \Interactions \WebDriverActions ;
4444use Facebook \WebDriver \Remote \LocalFileDetector ;
4545use Facebook \WebDriver \Remote \RemoteWebDriver ;
@@ -1688,7 +1688,7 @@ public function _initializeSession(): void
16881688
16891689 $ this ->setBaseElement ();
16901690 $ this ->initialWindowSize ();
1691- } catch (WebDriverCurlException $ exception ) {
1691+ } catch (UnexpectedResponseException $ exception ) {
16921692 codecept_debug ('Curl error: ' . $ exception ->getMessage ());
16931693 throw new ConnectionException (
16941694 "Can't connect to WebDriver at {$ this ->wdHost }. "
You can’t perform that action at this time.
0 commit comments