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.
2 parents f923ec5 + 8d10b50 commit 8fcb142Copy full SHA for 8fcb142
README.md
@@ -24,7 +24,7 @@ exports.handler = async (event, context) => {
24
25
try {
26
const browser = await playwright.launchChromium();
27
- const context = await browser.defaultContext();
+ const context = await browser.newContext();
28
29
const page = await context.newPage();
30
await page.goto(event.url || 'https://example.com');
0 commit comments