playwright/packages/playwright-core
Dmitry Gozman 66b5cf5ae1
feat(remote): make PlaywrightServer work with browserType.connect (#11849)
This changes PlaywrigtServer to serve connections like `ws://localhost:3333/?browser=chromium`:
- launches the browser;
- talks `browserType.connect`-style protocol over websocket;
- compatible with `connectOptions` fixture.

```js
await playwright.chromium.connect({ wsEndpoint: 'ws://localhost:3333/?browser=chrome' });
```
2022-02-10 16:36:23 -08:00
..
2021-10-11 16:52:17 +02:00
2021-10-11 16:52:17 +02:00
2021-10-11 16:52:17 +02:00
2021-10-11 16:52:17 +02:00
2022-02-08 16:01:44 -08:00

playwright-core

This package contains the no-browser flavor of Playwright.