Skip to content

Commit 8191499

Browse files
committed
limit elementByCss to 5s instead of the default 60s
1 parent 717e54b commit 8191499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/lib/browsers/playwright.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ export class Playwright extends BrowserInterface {
348348
}
349349

350350
elementByCss(selector: string) {
351-
return this.waitForElementByCss(selector)
351+
return this.waitForElementByCss(selector, 5_000)
352352
}
353353

354354
elementById(sel) {

0 commit comments

Comments
 (0)