Skip to content

Commit 5a2afb9

Browse files
committed
fix type screams
1 parent 8d70035 commit 5a2afb9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/src/button-contributions.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ describe("Query Selector Tests", function () {
7676

7777
async function resolveSelector(page: Page, selector: string) {
7878
if (selector.startsWith("xpath:")) {
79-
return (await (page as any).$x(selector.slice(6)))[0] || null;
79+
return (await page.$x(selector.slice(6)))[0] || null;
8080
} else {
8181
return page.$(selector);
8282
}

0 commit comments

Comments
 (0)