Automated Testing, Open Source, Video Streaming Software.
page.locator('video').waitFor(); const msg = await page.waitForEvent('console'); const error = JSON.parse(msg.text()); expect(error.category).toEqual('networkError'); }); Now it is time to actually try this out. Before running the test we need to install dependencies that playwright has. npx