Skip to content

Commit f120920

Browse files
Update WebDriver.php: Adding hint about reload
1 parent af40aff commit f120920

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Codeception/Module/WebDriver.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2284,6 +2284,7 @@ public function typeInPopup(string $keys): void
22842284

22852285
/**
22862286
* 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>.
2287+
* To reload the page without resetting everything (i.e. <kbd>F5</kbd>), you can use <code>$I->executeJS('location.reload();');</code>
22872288
*/
22882289
public function reloadPage(): void
22892290
{

0 commit comments

Comments
 (0)