Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 596de8e

Browse files
committed
docs: simplify README
1 parent 54b570e commit 596de8e

File tree

2 files changed

+47
-397
lines changed

2 files changed

+47
-397
lines changed

FAQ.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
## FAQ
2+
3+
- **Is this production ready?**<br>
4+
No, not yet. We're focused on making the extension stable and reliable, as that's our top priority, before adding more features.
5+
6+
- **Is this extension supported in k6 Cloud?**<br>
7+
No, not yet. Once the codebase is deemed production ready we'll add support for browser-based testing in k6 Cloud.
8+
9+
- **It doesn't work with my Chromium/Chrome version, why?**<br>
10+
CDP evolves and there are differences between different versions of Chromium, sometimes quite subtle. The codebase is continuously tested with the two latest major releases of Google Chrome.
11+
12+
- **Are Firefox or WebKit-based browsers supported?**<br>
13+
Not yet. There are differences in CDP coverage between Chromium, Firefox, and WebKit-based browsers. xk6-browser is initially only targetting Chromium-based browsers.
14+
15+
- **Are all features of Playwright supported?**<br>
16+
No. Playwright's API is pretty large and some of the functionality only makes sense if it's implemented using async operations: event listening, request interception, waiting for events, etc. This requires the existence of an event loop per VU in k6, which was only [recently added](https://github.com/grafana/k6/issues/882). Most of the current xk6-browser API is synchronous and thus lacks some of the functionality that requires asynchronicity, but we're gradually migrating existing methods to return a `Promise`, and adding new ones that will follow the same API.
17+
18+
Expect many breaking changes during this transition, which we'll point out in the release notes.
19+
20+
Note that `async`/`await` is still not natively supported in k6 scripts, because of the outdated Babel version it uses. If you wish to use this syntax you'll have to transform your script beforehand with an updated Babel version. See the [k6-template-es6 project](https://github.com/grafana/k6-template-es6) and [this comment](https://github.com/grafana/k6/issues/779#issuecomment-964027280) for details.

0 commit comments

Comments
 (0)