Skip to content

docs: add hosted browser CDP example - #34

Open
laotoutou wants to merge 1 commit into
bitsky-tech:devfrom
laotoutou:docs/hosted-cdp-example
Open

laotoutou wants to merge 1 commit into
bitsky-tech:devfrom
laotoutou:docs/hosted-cdp-example

Conversation

@laotoutou

Copy link
Copy Markdown

The CDP guide already accepts full ws:// and wss:// browser-level URLs, but its examples only show local endpoints. This adds a complete hosted-browser example, including the path and query-string requirement and using an environment variable for the credential-bearing URL.

I work on Cloudbrowser, which supplied the hosted Chrome used for verification. AI assisted with the example and checks.

Verification

  • Installed bridgic-browser==0.0.5 from PyPI under Python 3.12.
  • Connected Browser(cdp=...) to a temporary authorized Cloudbrowser WSS endpoint.
  • Navigated to an inline test page and read its title through the SDK: Bridgic hosted CDP.
  • Confirmed close() only disconnects; the hosted Chrome remained available.
  • The disposable Cloudbrowser instance was deleted after testing.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant