mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00

This ensures we get a proper error when something goes wrong. Should also help with producing the right error code in the case of internal error. Drive-by: fix location issue which manifests on the bots. Drive-by: remove the use of Array.prototype.flat to make it work on bots.