Skip to content

Commit

Permalink
Fix API for v22
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Ayers <[email protected]>
  • Loading branch information
smaye81 committed Jul 31, 2024
1 parent 6162806 commit 07bef14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testing/grpcwebclient/grpcwebclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ export async function run() {
// limited. It may be more effective for troubleshooting to instead add
// calls to window.log in browserscript.ts (these messages will show up
// in the test runner output).
const browser = await puppeteer.launch({ headless: "new" });
const browser = await puppeteer.launch({ headless: true });
const page = await browser.newPage();

await page.exposeFunction("log", (message: string) => {
process.stderr.write(message + "\n");
})
});
await page.addScriptTag({
type: "application/javascript",
content: await buildBrowserScript(),
Expand Down

0 comments on commit 07bef14

Please sign in to comment.