Releases: grafana/xk6-browser
v0.1.1
This is a patch release that fixes a few bugs and does minor improvements.
Bugs fixed
- Fix getting response body if
Frame
is nil. (#87) - Fix possible race condition accessing logrus level. (#91)
- Fix nil pointer panic on
Frame.networkIdleCtx
. (#109) - Fix errors setting extra HTTP headers. (#116)
- Fix data race on
Response.body
. (#124) - Fix nil pointer panic accessing
Frame.currentDocument
. (#127)
Improvements
- Skip request handling of
data:
URLs. (#91) - Log URL when fetching response body fails. (#91)
- Clean up browser process in case of a test error. (#110)
Internals
v0.1.0
This is the first public release of xk6-browser! 🎉
It's an early beta release we've been working on internally for several months now and we're happy to finally share it with the k6 community. See the release announcement blog post.
Take a look at the README for JavaScript API examples, and the current status of implemented functionality.
You can also find runnable examples in the examples
directory. It's as simple as downloading a pre-built binary package for your operating system from below, extracting it, cloning this repository and running ./xk6-browser run examples/<script>.js
. Note that xk6-browser is a k6 extension built using xk6, so it's just k6 with the bundled extension.
If you encounter any bugs or unexpected behavior, please search the currently open GitHub issues first, and create a new one if it doesn't exist yet. In the upcoming weeks we'll be hard at work stabilizing the project, so please have patience while we fix the major show-stoppers and implement new features.
Have fun!