You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: changelog.markdown
+21-9Lines changed: 21 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,27 @@ title: Codeception Changelog
9
9
10
10
11
11
12
+
### module-webdriver 4.0.3: 4.0.3
13
+
14
+
Released by [ Naktibalda](https://github.com/Naktibalda) on 2025/02/14 07:14:37 / [Repository](https://github.com/Codeception/module-webdriver) / [Releases](https://github.com/Codeception/module-webdriver/releases)
15
+
16
+
17
+
18
+
## What's Changed
19
+
* Support PHPUnit 12 by **[W0rma](https://github.com/W0rma)** in https://github.com/Codeception/module-webdriver/pull/140
20
+
* Fix incorrect documentation of log_js_error by **[SOHELAHMED7](https://github.com/SOHELAHMED7)** in https://github.com/Codeception/module-webdriver/pull/129
21
+
* Fix ChromeDriver links by **[blankse](https://github.com/blankse)** in https://github.com/Codeception/module-webdriver/pull/137
22
+
*`pressKey`: Fixing `@param string|array<string|string> $chars` by **[ThomasLandauer](https://github.com/ThomasLandauer)** in https://github.com/Codeception/module-webdriver/pull/138
23
+
* Fix PHP 8.4 deprecation for E_STRICT constant by **[W0rma](https://github.com/W0rma)** in https://github.com/Codeception/module-webdriver/pull/139
24
+
* Update WebDriver.php: reloadPage by **[ThomasLandauer](https://github.com/ThomasLandauer)** in https://github.com/Codeception/module-webdriver/pull/125
25
+
26
+
## New Contributors
27
+
***[SOHELAHMED7](https://github.com/SOHELAHMED7)** made their first contribution in https://github.com/Codeception/module-webdriver/pull/129
28
+
***[blankse](https://github.com/blankse)** made their first contribution in https://github.com/Codeception/module-webdriver/pull/137
Released by [ Naktibalda](https://github.com/Naktibalda) on 2025/02/14 07:04:31 / [Repository](https://github.com/Codeception/lib-innerbrowser) / [Releases](https://github.com/Codeception/lib-innerbrowser/releases)
@@ -3749,15 +3770,6 @@ Released by [ Naktib
3749
3770
* haveMultiple doesn't pass $name argument to factory(), because Laravel 7 does not support it anymore.
3750
3771
3751
3772
3752
-
### module-webdriver 1.0.6: Fixed setCookie in w3c mode
3753
-
3754
-
Released by [ Naktibalda](https://github.com/Naktibalda) on 2020/03/23 17:15:52 / [Repository](https://github.com/Codeception/module-webdriver) / [Releases](https://github.com/Codeception/module-webdriver/releases)
3755
-
3756
-
3757
-
3758
-
Modern browsers reject cookies with singlepart domain names, the best option is not to set domain property unless explicitly specified.
3759
-
3760
-
3761
3773
### module-mezzio 2.0.1: 2.0.1
3762
3774
3763
3775
Released by [ Slamdunk](https://github.com/Slamdunk) on 2020/03/17 11:14:58 / [Repository](https://github.com/Codeception/module-mezzio) / [Releases](https://github.com/Codeception/module-mezzio/releases)
Copy file name to clipboardExpand all lines: docs/modules/WebDriver.md
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -83,7 +83,7 @@ Tests can be executed directly through ChromeDriver or GeckoDriver (for Firefox)
83
83
84
84
#### ChromeDriver
85
85
86
-
* Download and install [ChromeDriver](https://sites.google.com/chromium.org/driver/downloads?authuser=0)
86
+
* Download and install [ChromeDriver](https://sites.google.com/chromium.org/driver/downloads)
87
87
* Launch ChromeDriver in a separate console window: `chromedriver --url-base=/wd/hub`.
88
88
89
89
Configuration in `Acceptance.suite.yml`:
@@ -104,7 +104,7 @@ modules:
104
104
download.default_directory: "..."
105
105
106
106
{% endhighlight %}
107
-
See here for additional [Chrome options](https://sites.google.com/a/chromium.org/chromedriver/capabilities)
107
+
See here for additional [Chrome options](https://sites.google.com/chromium.org/driver/capabilities)
108
108
109
109
110
110
#### GeckoDriver
@@ -250,7 +250,7 @@ modules:
250
250
*`ssl_proxy` - sets ssl(https) proxy server url for testing a remote server.
251
251
*`ssl_proxy_port` - sets ssl(https) proxy server port
252
252
*`debug_log_entries` - how many selenium entries to print with `debugWebDriverLogs` or on fail (0 by default).
253
-
*`log_js_errors` - Set to true to include possible JavaScript to HTML report, or set to false (default) to deactivate.
253
+
*`log_js_errors` - Set to true to include possible JavaScript to HTML report, or set to false (default) to deactivate. This will only work if `debug_log_entries` is set and its value is > 0. Also this will display JS errors as comments only if test fails.
254
254
*`webdriver_proxy` - sets http proxy to tunnel requests to the remote Selenium WebDriver through
255
255
*`webdriver_proxy_port` - sets http proxy server port to tunnel requests to the remote Selenium WebDriver through
256
256
@@ -1590,19 +1590,19 @@ In 3rd argument you can set number a seconds to wait for element to appear
1590
1590
1591
1591
Presses the given key on the given element.
1592
1592
1593
-
To specify a character and modifier (e.g. <kbd>Ctrl</kbd>, Alt, Shift, Meta), pass an array for `$char` with
1593
+
To specify a character and modifier (e.g. <kbd>Ctrl</kbd>, <kbd>Alt</kbd>, <kbd>Shift</kbd>, <kbd>Meta</kbd>), pass an array for `$char` with
1594
1594
the modifier as the first element and the character as the second.
1595
-
For special keys, use the constants from [`Facebook\WebDriver\WebDriverKeys`](https://github.com/php-webdriver/php-webdriver/blob/main/lib/WebDriverKeys.php).
1595
+
For special keys, use the constants from [Facebook\WebDriver\WebDriverKeys](https://github.com/php-webdriver/php-webdriver/blob/main/lib/WebDriverKeys.php).
1596
1596
1597
1597
{% highlight php %}
1598
1598
1599
1599
<?php
1600
1600
// <input id="page" value="old">
1601
1601
$I->pressKey('#page', 'a'); // => olda
1602
-
$I->pressKey('#page', ['ctrl', 'a'],'new'); //=> new
0 commit comments