[docs]: correct Python dict syntax for cdp_url in browser config#1684
[docs]: correct Python dict syntax for cdp_url in browser config#1684shrey150 wants to merge 1 commit intobrowserbase:mainfrom
Conversation
The CDP URL example used keyword argument syntax (`cdp_url="..."`) inside a dictionary literal, which is invalid Python. Changed to proper dict syntax (`"cdp_url": "..."`). Fixes browserbase#1288 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
Greptile OverviewGreptile SummaryThis PR fixes a Python syntax error in the browser configuration documentation. The original code used keyword argument syntax (
Confidence Score: 5/5
Important Files Changed
Last reviewed commit: c6bf368 |
Kylejeong2
left a comment
There was a problem hiding this comment.
lgtm, are there other instances in the docs where this is wrong in python? we should have an LLM run through the docs here to verify + also this should be updated in the migration script (if there)
Summary
cdp_urlwas written using keyword argument syntax (cdp_url="...") inside a dictionary literal{}, which is a syntax error in Python"cdp_url": "...")Fixes #1288
Test plan
🤖 Generated with Claude Code
Summary by cubic
Fixes invalid Python dictionary syntax in the local browser configuration docs by changing cdp_url="..." to "cdp_url": "...". This removes the syntax error so the example runs when copy-pasted.
Written for commit c6bf368. Summary will update on new commits. Review in cubic