Automated Testing, Open Source, Video Streaming Software.
video element to be visible before we continue. Here we wait for a console output that we then parse so we can verify that the error thrown by the player is indeed a network error. const msg = await page.waitForEvent('console'); const error = JSON.parse(msg.text());