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 16
16
"name" : " Zaahid Bateson"
17
17
}
18
18
],
19
- "minimum-stability" : " dev" ,
20
-
19
+ "minimum-stability" : " stable" ,
21
20
"require" : {
22
21
"php" : " ^8.0" ,
23
22
"ext-json" : " *" ,
24
23
"ext-mbstring" : " *" ,
25
- "codeception/codeception" : " ^5.0.0-RC2 " ,
24
+ "codeception/codeception" : " ^5.0.0" ,
26
25
"codeception/lib-web" : " ^1.0.1" ,
27
26
"codeception/stub" : " ^4.0" ,
28
- "php-webdriver/webdriver" : " ^1.8 .0" ,
27
+ "php-webdriver/webdriver" : " ^1.14 .0" ,
29
28
"phpunit/phpunit" : " ^9.5"
30
29
},
31
30
"suggest" : {
Original file line number Diff line number Diff line change 35
35
use Exception ;
36
36
use Facebook \WebDriver \Cookie ;
37
37
use Facebook \WebDriver \Cookie as WebDriverCookie ;
38
+ use Facebook \WebDriver \Exception \Internal \UnexpectedResponseException ;
38
39
use Facebook \WebDriver \Exception \InvalidElementStateException ;
39
40
use Facebook \WebDriver \Exception \InvalidSelectorException ;
40
41
use Facebook \WebDriver \Exception \NoSuchElementException ;
41
42
use Facebook \WebDriver \Exception \UnknownErrorException ;
42
- use Facebook \WebDriver \Exception \WebDriverCurlException ;
43
43
use Facebook \WebDriver \Interactions \WebDriverActions ;
44
44
use Facebook \WebDriver \Remote \LocalFileDetector ;
45
45
use Facebook \WebDriver \Remote \RemoteWebDriver ;
@@ -1686,7 +1686,7 @@ public function _initializeSession(): void
1686
1686
1687
1687
$ this ->setBaseElement ();
1688
1688
$ this ->initialWindowSize ();
1689
- } catch (WebDriverCurlException $ exception ) {
1689
+ } catch (UnexpectedResponseException $ exception ) {
1690
1690
codecept_debug ('Curl error: ' . $ exception ->getMessage ());
1691
1691
throw new ConnectionException (
1692
1692
"Can't connect to WebDriver at {$ this ->wdHost }. "
You can’t perform that action at this time.
0 commit comments