We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71485a5 commit 9d478efCopy full SHA for 9d478ef
lib/helper/Playwright.js
@@ -2652,7 +2652,7 @@ class Playwright extends Helper {
2652
const _contextObject = this.frame ? this.frame : contextObject;
2653
let count = 0;
2654
do {
2655
- waiter = await _contextObject.locator(`:has-text('${text}')`).first().isVisible();
+ waiter = await _contextObject.locator(`:has-text("${text}")`).first().isVisible();
2656
if (waiter) break;
2657
await this.wait(1);
2658
count += 1000;
0 commit comments