Skip to content

chore: optionally expose the browser server#39423

Merged
pavelfeldman merged 1 commit intomicrosoft:mainfrom
pavelfeldman:browser_server_1
Feb 26, 2026
Merged

chore: optionally expose the browser server#39423
pavelfeldman merged 1 commit intomicrosoft:mainfrom
pavelfeldman:browser_server_1

Conversation

@pavelfeldman
Copy link
Member

No description provided.

it('should start server and expose _server() when server option is passed', async ({ browserType, mode }) => {
it.skip(mode.startsWith('service'));

const browser = await browserType.launch({ server: { title: 'test-browser' } } as any);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is the server parameter defined?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is private for now

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

Test results for "MCP"

1 failed
❌ [webkit] › mcp/http.spec.ts:199 › http transport browser lifecycle (persistent) @mcp-macos-15

5132 passed, 171 skipped


Merge workflow run.

@github-actions
Copy link
Contributor

Test results for "tests 1"

2 failed
❌ [playwright-test] › playwright.trace.spec.ts:345 › should retain traces for interrupted tests @macos-latest-node20
❌ [playwright-test] › ui-mode-test-network-tab.spec.ts:371 › should not preserve selection across test runs @macos-latest-node20

7 flaky ⚠️ [chromium-library] › library/browser.spec.ts:24 › should create new page @smoke `@ubuntu-22.04-chromium-tip-of-tree`
⚠️ [chromium-library] › library/browser.spec.ts:24 › should create new page @smoke `@chromium-ubuntu-22.04-arm-node20`
⚠️ [chromium-library] › library/browser.spec.ts:24 › should create new page @smoke `@chromium-ubuntu-22.04-node24`
⚠️ [chromium-library] › library/browser.spec.ts:24 › should create new page @smoke `@chromium-ubuntu-22.04-node20`
⚠️ [chromium-library] › library/browser.spec.ts:24 › should create new page @smoke `@chromium-ubuntu-22.04-node22`
⚠️ [firefox-library] › library/browser.spec.ts:24 › should create new page @smoke `@firefox-ubuntu-22.04-node20`
⚠️ [webkit-library] › library/browser.spec.ts:24 › should create new page @smoke `@webkit-ubuntu-22.04-node20`

38611 passed, 843 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