playwright/packages
Dmitry Gozman c56877032d
fix(persistent): close browser instead of pages (#18485)
Previously, we closed pages one by one before closing the browser when
shutting down the persistent context. This logic was introduced in
https://github.com/microsoft/playwright/pull/4040 to properly finish
video recordings in persistent context.

Such a process makes it unnecessary brittle to close the persistent
context. For example, Chromium headless is sometimes unable to close the
last persistent page for unknown reasons.

Instead, we can just stop video recordings manually and close the
browser right away.

Fixes #18229.
2022-11-01 14:26:38 -07:00
..
html-reporter chore: support dark theme in recorder & tv (#18389) 2022-10-27 16:50:41 -07:00
playwright chore: cut v1.27.0 (#17859) 2022-10-05 15:30:35 -07:00
playwright-chromium chore: cut v1.27.0 (#17859) 2022-10-05 15:30:35 -07:00
playwright-core fix(persistent): close browser instead of pages (#18485) 2022-11-01 14:26:38 -07:00
playwright-ct-react chore(ct): bump vite to v3.2.1 (#18427) 2022-10-31 08:58:11 -07:00
playwright-ct-solid chore(ct): bump vite to v3.2.1 (#18427) 2022-10-31 08:58:11 -07:00
playwright-ct-svelte chore(ct): bump vite to v3.2.1 (#18427) 2022-10-31 08:58:11 -07:00
playwright-ct-vue chore(ct): bump vite to v3.2.1 (#18427) 2022-10-31 08:58:11 -07:00
playwright-ct-vue2 chore(ct): bump vue to v2.7.13 (#18428) 2022-11-01 14:17:43 -07:00
playwright-firefox chore: cut v1.27.0 (#17859) 2022-10-05 15:30:35 -07:00
playwright-test chore: revert project.{stage,run} (#18462) 2022-10-31 14:04:24 -07:00
playwright-webkit chore: cut v1.27.0 (#17859) 2022-10-05 15:30:35 -07:00
protocol/src chore: allow not overriding media when creating context (#18413) 2022-10-31 09:09:52 -07:00
recorder chore: add explore locator parser (#18429) 2022-10-31 12:55:35 -07:00
trace/src chore: render typed locators in the trace viewer (#18166) 2022-10-18 19:23:40 -07:00
trace-viewer chore: support dark theme in recorder & tv (#18389) 2022-10-27 16:50:41 -07:00
web chore: support dark theme in recorder & tv (#18389) 2022-10-27 16:50:41 -07:00
.eslintrc.js chore: don't write into stdout from the test runner, use reporters instead (#11367) 2022-01-12 19:52:40 -08:00