We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d70035 commit 5a2afb9Copy full SHA for 5a2afb9
test/src/button-contributions.spec.ts
@@ -76,7 +76,7 @@ describe("Query Selector Tests", function () {
76
77
async function resolveSelector(page: Page, selector: string) {
78
if (selector.startsWith("xpath:")) {
79
- return (await (page as any).$x(selector.slice(6)))[0] || null;
+ return (await page.$x(selector.slice(6)))[0] || null;
80
} else {
81
return page.$(selector);
82
}
0 commit comments