mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-02 23:27:28 +03:00
8538f61a72
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. |
||
---|---|---|
.. | ||
fixture-scripts | ||
android-types.spec.ts | ||
connect-to-selenium.spec.ts | ||
docker-integration.spec.ts | ||
driver-should-work.spec.ts | ||
electron-types.spec.ts | ||
expect.d.ts | ||
globalSetup.ts | ||
npm-installs-local-packages.spec.ts | ||
npmTest.ts | ||
npx-global-help.spec.ts | ||
npx-global-install.spec.ts | ||
npx-global-spec-codegen.spec.ts | ||
playwright-cdn-failover-should-work.spec.ts | ||
playwright-cdn-should-race-with-timeout.spec.ts | ||
playwright-cli-codegen.spec.ts | ||
playwright-cli-install-should-work-with-languages.spec.ts | ||
playwright-cli-install-should-work.spec.ts | ||
playwright-cli-screenshot-should-work.spec.ts | ||
playwright-electron-should-work.spec.ts | ||
playwright-global-installation-cross-package.spec.ts | ||
playwright-global-installation.spec.ts | ||
playwright-global-subsequent-installs.spec.ts | ||
playwright-should-work-with-relative-browsers-path.spec.ts | ||
playwright-should-work-with-relative-home-path.spec.ts | ||
playwright-should-work.spec.ts | ||
playwright-test-should-work.spec.ts | ||
playwright-test-stacks-should-work.spec.ts | ||
playwright-xyz-should-work.spec.ts | ||
playwright.config.ts | ||
registry.ts | ||
screencast.spec.ts | ||
skip-browser-download-inspect-with-custom-executable.spec.ts | ||
skip-browser-download.spec.ts | ||
spawnAsync.ts | ||
typescript-types.spec.ts | ||
validate-dependencies.spec.ts |