experiment

This commit is contained in:
Maksim Sadym 2024-03-15 15:30:50 +01:00
parent a1c527df96
commit 147ae0a378

View File

@ -64,8 +64,10 @@ describe('Browser specs', function () {
expect(remoteBrowser.process()).toBe(null);
await remoteBrowser.disconnect();
});
it('should keep connected after the last page is closed', async () => {
const {browser, close} = await launch({}, {createContext: false});
it.only('should keep connected after the last page is closed', async () => {
const {browser, close} = await launch({
slowMo: 300,
}, {createContext: false});
try {
const pages = await browser.pages();
await Promise.all(