docs: add Common use cases to chrome_policy page#418
Conversation
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
|
Firetiger deploy monitoring skipped This PR didn't match the auto-monitor filter configured on your GitHub connection:
Reason: PR is a documentation-only change to a policy documentation page and does not appear to be in the kernel, infra, hypeman, or hypeship repos. To monitor this PR anyway, reply with |
There was a problem hiding this comment.
Risk assessment: Very Low.
Evidence from the diff: this PR only adds documentation examples to browsers/pools/policy-json.mdx (66 added lines), with no executable code, navigation/config changes, infrastructure changes, auth/permissions changes, or production logic modified. I also did not find a CODEOWNERS file in the workspace.
Approval decision: the PR already has an approval recorded, so I’m leaving this assessment as a comment and not re-approving.
Sent by Cursor Automation: Assign PR reviewers


Summary
Adds a "Common use cases" section to
browsers/pools/policy-json.mdxbefore "Available policies", documenting the non-pool path (chrome_policyonbrowsers.create()) with two recipes:DefaultPopupsSetting: 1for sites that open download dialogs or OAuth windows.DefaultPopupsSetting: 1+DownloadRestrictions: 0for download-permission prompts.Each use case has Python + TypeScript tabs in a
CodeGroup, matching the existing style on the page.Note
Low Risk
Documentation-only MDX additions with no runtime or API behavior changes.
Overview
Adds a Common use cases section to the custom Chrome policies doc (before Available policies), clarifying that
chrome_policyworks onbrowsers.create()as well as pools.Documents two automation-focused recipes with Python/TypeScript
CodeGroupexamples: allowing pop-ups viaDefaultPopupsSetting: 1, and relaxing download prompts withDefaultPopupsSetting: 1plusDownloadRestrictions: 0.Reviewed by Cursor Bugbot for commit 407a36e. Bugbot is set up for automated code reviews on this repo. Configure here.