| Total Complexity | 1 |
| Total Lines | 16 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class PagantisWebDriver extends RemoteWebDriver |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * Override method to increase the default timeouts |
||
| 17 | * |
||
| 18 | * @param int $timeout_in_second |
||
| 19 | * @param int $interval_in_millisecond |
||
| 20 | * |
||
| 21 | * @return WebDriverWait |
||
| 22 | */ |
||
| 23 | public function wait($timeout_in_second = 120, $interval_in_millisecond = 1000) |
||
| 24 | { |
||
| 25 | return new WebDriverWait( |
||
| 26 | $this, |
||
| 27 | $timeout_in_second, |
||
| 28 | $interval_in_millisecond |
||
| 29 | ); |
||
| 32 |