Skip to content

Commit d3802bf

Browse files
kathaylToriLindsay
andauthored
Update src/content/docs/browser-rendering/platform/playwright.mdx
Co-authored-by: ToriLindsay <[email protected]>
1 parent 85100fd commit d3802bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/browser-rendering/platform/playwright.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ const browser = await playwright.launch(env.MYBROWSER, { keep_alive: 600000 });
201201

202202
Using the above, the browser will stay open for up to 10 minutes, even if inactive.
203203

204-
### Setting a Custom User Agent
204+
### Set a custom user agent
205205

206206
To specify a custom user agent in Playwright, set it in the options when creating a new browser context with `browser.newContext()`. All pages subsequently created from this context will use the new user agent. This is useful if the target website serves different content based on the user agent.
207207

0 commit comments

Comments
 (0)