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. |
||
|---|---|---|
| .. | ||
| container_install_deps.sh | ||
| container_run_server.sh | ||
| install_media_pack.ps1 | ||
| PrintDeps.exe | ||
| README.md | ||
| reinstall_chrome_beta_linux.sh | ||
| reinstall_chrome_beta_mac.sh | ||
| reinstall_chrome_beta_win.ps1 | ||
| reinstall_chrome_stable_linux.sh | ||
| reinstall_chrome_stable_mac.sh | ||
| reinstall_chrome_stable_win.ps1 | ||
| reinstall_msedge_beta_linux.sh | ||
| reinstall_msedge_beta_mac.sh | ||
| reinstall_msedge_beta_win.ps1 | ||
| reinstall_msedge_dev_linux.sh | ||
| reinstall_msedge_dev_mac.sh | ||
| reinstall_msedge_dev_win.ps1 | ||
| reinstall_msedge_stable_linux.sh | ||
| reinstall_msedge_stable_mac.sh | ||
| reinstall_msedge_stable_win.ps1 | ||
See building instructions at /browser_patches/winldd/README.md