Context:
- Playwright Version:0.13.0
- Operating System: Linux
- Extra: Code built with Typescript
Code Snippet
import { chromium } from 'playwright'
(async () => {
const c = await chromium.launch({
args: [
'--single-process'
]
})
let ctx = await c.newContext()
let p = await ctx.newPage()
await ctx.close()
//fails
ctx = await c.newContext()
})();
Describe the bug
I tried to use chromium in single-process mode to try to make it more lightweight, but by doing so closing a BrowserContext also closes the browser, this might be a normal behavior, but if so it should be documented