Skip to content

Commit d3587e5

Browse files
committed
30 seconds timeout
1 parent 95c7d24 commit d3587e5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* Visits the given URL, and starts a new browser test.
1515
*
1616
* @param string|null $url The URL to visit
17-
* @param array<string, mixed> $options Options for the page, e.g. ['hasTouch' => true]
17+
* @param array<string, mixed> $options Options for the page or for the goto, e.g. ['hasTouch' => true]
1818
*/
1919
function page(?string $url = null, array $options = []): Page
2020
{

src/Playwright/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function execute(string $guid, string $method, array $params = [], array
6060
'id' => $requestId,
6161
'guid' => $guid,
6262
'method' => $method,
63-
'params' => ['timeout' => 5_000, ...$params],
63+
'params' => ['timeout' => 30_000, ...$params],
6464
'metadata' => $meta,
6565
]);
6666

0 commit comments

Comments
 (0)