[docs]: add docs for local browser port option

Merged
SE
10mo ago
+28-0

why

Missing docs for local browser port

what changed

Add documentation for the port option in LocalBrowserLaunchOptions that was added in PR #1575. This option allows users to specify a fixed Chrome CDP debugging port instead of using a randomly assigned port.

Updated:

  • packages/docs/v3/references/stagehand.mdx - Added port parameter to LocalBrowserLaunchOptions documentation
  • packages/docs/v3/configuration/browser.mdx - Added port to example and new "Fixed CDP Debugging Port" section explaining the feature # test plan

Summary by cubic

Document the port option in LocalBrowserLaunchOptions so users can set a fixed Chrome DevTools Protocol debugging port. Adds examples and guidance (including a 9222 tip) in the configuration and API reference pages.


why

what changed

test plan