playwright/packages/playwright-core
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
..
bin chore: download android driver from the cdn (#18466) 2022-10-31 16:08:26 -07:00
bundles chore: bump 'ip' peer dependency (#15750) 2022-07-18 20:04:26 +02:00
src fix(persistent): close browser instead of pages (#18485) 2022-11-01 14:26:38 -07:00
types chore: allow not overriding media when creating context (#18413) 2022-10-31 09:09:52 -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: bump 'ip' peer dependency (#15750) 2022-07-18 20:04:26 +02:00

playwright-core

This package contains the no-browser flavor of Playwright.