| 1 | <?php |
||
| 13 | class WaitHelper extends \Codeception\Module |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var int Default delay to wait while page updating |
||
| 17 | */ |
||
| 18 | protected int $defaultDelay = 5; |
||
|
|
|||
| 19 | |||
| 20 | /** |
||
| 21 | * @param int $timeOut |
||
| 22 | * @throws \Codeception\Exception\ModuleException |
||
| 23 | */ |
||
| 24 | public function waitForPageUpdate($timeOut = 180): void |
||
| 25 | { |
||
| 26 | $I = $this->getModule('WebDriver'); |
||
| 35 |