playwright/packages/playwright-core
Andrey Lushnikov 8538f61a72
feat(containers): implement global network tethering for playwright server (#17719)
This patch implements a new mode of network tethering for Playwright
server & its clients.
With this patch:
- playwright server could be launched with the
`--browser-proxy-mode=tether` flag to engage in the new mode
- a new type of client, "Network Tethering Client" can connect to the
server to provide network traffic to the browsers
- all clients that connect to the server with the `x-playwright-proxy:
*` header will get traffic from the "Network Tethering Client"

This patch also adds an environment variable
`PW_OWNED_BY_TETHER_CLIENT`. With this env, playwright server will
auto-close when the network tethering client disconnects. It will also
auto-close if the network client does not connect to the server in the
first 10 seconds of the server existence. This way we can ensure that
`npx playwright docker start` blocks terminal & controls the lifetime of
the started container.
2022-11-03 13:47:51 -07:00
..
bin feat(containers): implement global network tethering for playwright server (#17719) 2022-11-03 13:47:51 -07:00
bundles chore: bump 'ip' peer dependency (#15750) 2022-07-18 20:04:26 +02:00
src feat(containers): implement global network tethering for playwright server (#17719) 2022-11-03 13:47:51 -07:00
types docs: support custom hrefs for api links (#18514) 2022-11-02 13:35:51 -07:00
.npmignore chore: babel, expect, zip bundles (#13588) 2022-04-18 11:31:58 -07:00
browsers.json chore: download android driver from the cdn (#18466) 2022-10-31 16:08:26 -07:00
cli.js chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
index.d.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
index.js chore: sunset Node.js 12 (#16512) 2022-08-15 18:10:04 +02:00
index.mjs fix: export request from index.jsm (#13158) 2022-03-30 09:35:47 -07:00
package.json chore: cut v1.27.0 (#17859) 2022-10-05 15:30:35 -07:00
README.md chore: drop dependency on playwright-core in all our packages (#2318) 2020-05-21 13:18:15 -07:00
ThirdPartyNotices.txt chore: use codemirror for editor (#18482) 2022-11-01 15:04:30 -07:00

playwright-core

This package contains the no-browser flavor of Playwright.