File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1616 "name" : " Zaahid Bateson"
1717 }
1818 ],
19- "minimum-stability" : " dev" ,
20-
19+ "minimum-stability" : " stable" ,
2120 "require" : {
2221 "php" : " ^8.0" ,
2322 "ext-json" : " *" ,
2423 "ext-mbstring" : " *" ,
25- "codeception/codeception" : " ^5.0.0-RC2 " ,
24+ "codeception/codeception" : " ^5.0.0" ,
2625 "codeception/lib-web" : " ^1.0.1" ,
2726 "codeception/stub" : " ^4.0" ,
28- "php-webdriver/webdriver" : " ^1.8 .0" ,
27+ "php-webdriver/webdriver" : " ^1.14 .0" ,
2928 "phpunit/phpunit" : " ^9.5"
3029 },
3130 "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 ;
@@ -1686,7 +1686,7 @@ public function _initializeSession(): void
16861686
16871687 $ this ->setBaseElement ();
16881688 $ this ->initialWindowSize ();
1689- } catch (WebDriverCurlException $ exception ) {
1689+ } catch (UnexpectedResponseException $ exception ) {
16901690 codecept_debug ('Curl error: ' . $ exception ->getMessage ());
16911691 throw new ConnectionException (
16921692 "Can't connect to WebDriver at {$ this ->wdHost }. "
You can’t perform that action at this time.
0 commit comments