Skip to content

chore(api): remove Browser.launchOptions/userDataDir, rename isClosedOrClosing to isClosed#39752

Merged
pavelfeldman merged 1 commit intomicrosoft:mainfrom
pavelfeldman:chore-cleanup-browser-api
Mar 18, 2026
Merged

chore(api): remove Browser.launchOptions/userDataDir, rename isClosedOrClosing to isClosed#39752
pavelfeldman merged 1 commit intomicrosoft:mainfrom
pavelfeldman:chore-cleanup-browser-api

Conversation

@pavelfeldman
Copy link
Member

Summary

  • Remove Browser.launchOptions() and Browser.userDataDir() public APIs, moving that info to internal BrowserInfo from server registry
  • Rename BrowserContext.isClosedOrClosing() to BrowserContext.isClosed()
  • Remove wsEndpoint from EndpointInfo
  • Add createBrowserWithInfo() to browserFactory for daemon usage

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

Test results for "MCP"

5507 passed, 343 skipped


Merge workflow run.

@github-actions
Copy link
Contributor

Test results for "tests 1"

3 flaky ⚠️ [chromium-library] › library/trace-viewer.spec.ts:1223 › should display language-specific locators `@chromium-ubuntu-22.04-node20`
⚠️ [chromium-library] › library/trace-viewer.spec.ts:1223 › should display language-specific locators `@chromium-ubuntu-22.04-node22`
⚠️ [firefox-library] › library/inspector/cli-codegen-1.spec.ts:1080 › cli codegen › should not throw csp directive violation errors `@firefox-ubuntu-22.04-node20`

38818 passed, 845 skipped


Merge workflow run.

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.

2 participants