Skip to content

Commit 9d478ef

Browse files
authored
fix: waitForText locator issue (#4039)
1 parent 71485a5 commit 9d478ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/helper/Playwright.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2652,7 +2652,7 @@ class Playwright extends Helper {
26522652
const _contextObject = this.frame ? this.frame : contextObject;
26532653
let count = 0;
26542654
do {
2655-
waiter = await _contextObject.locator(`:has-text('${text}')`).first().isVisible();
2655+
waiter = await _contextObject.locator(`:has-text("${text}")`).first().isVisible();
26562656
if (waiter) break;
26572657
await this.wait(1);
26582658
count += 1000;

0 commit comments

Comments
 (0)