Skip to content

Commit 3cec809

Browse files
github-actions[bot]github-actions[bot]
github-actions[bot]
authored and
github-actions[bot]
committed
updated
1 parent 7df6302 commit 3cec809

File tree

2 files changed

+31
-19
lines changed

2 files changed

+31
-19
lines changed

changelog.markdown

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,27 @@ title: Codeception Changelog
99

1010

1111

12+
### module-webdriver 4.0.3: 4.0.3
13+
14+
Released by [![](https://avatars.githubusercontent.com/u/395992?v=4&s=16) 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
29+
30+
**Full Changelog**: https://github.com/Codeception/module-webdriver/compare/4.0.2...4.0.3
31+
32+
1233
### lib-innerbrowser 4.0.6: 4.0.6
1334

1435
Released by [![](https://avatars.githubusercontent.com/u/395992?v=4&s=16) 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 [![](https://avatars.githubusercontent.com/u/395992?v=4&s=16) Naktib
37493770
* haveMultiple doesn't pass $name argument to factory(), because Laravel 7 does not support it anymore.
37503771

37513772

3752-
### module-webdriver 1.0.6: Fixed setCookie in w3c mode
3753-
3754-
Released by [![](https://avatars.githubusercontent.com/u/395992?v=4&s=16) 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-
37613773
### module-mezzio 2.0.1: 2.0.1
37623774

37633775
Released by [![](https://avatars.githubusercontent.com/u/152236?v=4&s=16) 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)

docs/modules/WebDriver.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ Tests can be executed directly through ChromeDriver or GeckoDriver (for Firefox)
8383

8484
#### ChromeDriver
8585

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)
8787
* Launch ChromeDriver in a separate console window: `chromedriver --url-base=/wd/hub`.
8888

8989
Configuration in `Acceptance.suite.yml`:
@@ -104,7 +104,7 @@ modules:
104104
download.default_directory: "..."
105105

106106
{% 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)
108108

109109

110110
#### GeckoDriver
@@ -250,7 +250,7 @@ modules:
250250
* `ssl_proxy` - sets ssl(https) proxy server url for testing a remote server.
251251
* `ssl_proxy_port` - sets ssl(https) proxy server port
252252
* `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.
254254
* `webdriver_proxy` - sets http proxy to tunnel requests to the remote Selenium WebDriver through
255255
* `webdriver_proxy_port` - sets http proxy server port to tunnel requests to the remote Selenium WebDriver through
256256

@@ -1590,19 +1590,19 @@ In 3rd argument you can set number a seconds to wait for element to appear
15901590

15911591
Presses the given key on the given element.
15921592

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
15941594
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).
15961596

15971597
{% highlight php %}
15981598

15991599
<?php
16001600
// <input id="page" value="old">
16011601
$I->pressKey('#page', 'a'); // => olda
1602-
$I->pressKey('#page', ['ctrl', 'a'],'new'); //=> new
1603-
$I->pressKey('#page', ['shift', '111'],'1','x'); //=> old!!!1x
1604-
$I->pressKey('descendant-or-self::*[@id='page']','u'); //=> oldu
1605-
$I->pressKey('#name', ['ctrl', 'a'], \Facebook\WebDriver\WebDriverKeys::DELETE); //=>''
1602+
$I->pressKey('#page', ['ctrl', 'a'],'new'); // => new
1603+
$I->pressKey('#page', ['shift', '111'], '1', 'x'); // => old!!!1x
1604+
$I->pressKey('descendant-or-self::*[@id='page']', 'u'); // => oldu
1605+
$I->pressKey('#name', ['ctrl', 'a'], \Facebook\WebDriver\WebDriverKeys::DELETE); // =>''
16061606

16071607
{% endhighlight %}
16081608

@@ -1611,7 +1611,7 @@ $I->pressKey('#name', ['ctrl', 'a'], \Facebook\WebDriver\WebDriverKeys::DELETE);
16111611

16121612
* `return void`
16131613

1614-
Reloads the current page.
1614+
Reloads the current page. All forms will be reset, so the outcome is as if the user would press <kbd>Ctrl</kbd>+<kbd>F5</kbd>.
16151615

16161616

16171617
#### resetCookie

0 commit comments

Comments
 (0)