The browser module adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol to k6.
GNU Affero General Public License v3.0
344
stars
41
forks
source link
Detect and assert on page errors #1481
Open
andrewslotin opened 1 month ago
To accurately track the number and type of errors that occur while interacting with a page from a script, the following page events must be supported:
crash
pageerror
requestfailed
For instance, a potential use case would involve setting a threshold for specific error types, such as the number of exceptions or failed requests.