[docs]: add docs for local connect headers
Merged
SE
13h ago+44+44+01234567890123456789-1-1-0123456789
what changed
- adds documentation for headers passed into
localBrowser.connect()
Summary by cubic
Adds documentation for passing authentication headers to localBrowser.connect() (TypeScript and Python) and ConnectLocalBrowser (Go).
- Shows how to pass headers without putting credentials in the connection URL.
- Documents that headers are sent with HTTP discovery and the WebSocket connection, only forwarded to the same host and port, and never passed to the extension.
- Promotes the "Connecting over CDP" heading so the extension CDP URL anchor link resolves correctly.