chore: roll Playwright to 5/27 (#485)

This commit is contained in:
Pavel Feldman
2025-05-27 16:47:22 -07:00
committed by GitHub
parent 45f493da6c
commit 9429463951
4 changed files with 18 additions and 21 deletions

View File

@@ -78,9 +78,9 @@ export function sanitizeForFilePath(s: string) {
}
export async function generateLocator(locator: playwright.Locator): Promise<string> {
return (locator as any)._frame._wrapApiCall(() => (locator as any)._generateLocatorString(), true);
return (locator as any)._generateLocatorString();
}
export async function callOnPageNoTrace<T>(page: playwright.Page, callback: (page: playwright.Page) => Promise<T>): Promise<T> {
return await (page as any)._wrapApiCall(() => callback(page), true);
return await (page as any)._wrapApiCall(() => callback(page), { internal: true });
}