-
### Brief summary
As per https://k6io.slack.com/archives/C02LAJA6EJ1/p1701200916841519?thread_ts=1701200673.843449&cid=C02LAJA6EJ1
Ideally, if we have the K6_BROWSER_LOG command - I would like to …
-
### Brief summary
There are [Browser Module Options](https://k6.io/docs/javascript-api/k6-experimental/browser/#browser-module-options) that can be provided as environment variables.
When providing …
-
### What?
The browser module might have race conditions because it sets the internal components to receive events before their parent fully completes their initialization. In that case, the event s…
-
### Brief summary
Currently the k6 HTTP `Response` implementation contains the headers returned in the `Network.responseReceived` CDP [event](https://chromedevtools.github.io/devtools-protocol/tot/Ne…
ka3de updated
4 months ago
-
Change all, from:
```js
const headerText = await page.locator('h2').textContent();
check(headerText, {
'header': headerText === 'Welcome, admin!'
});
```
To:
```js
import { check } from 'https://…
-
Tested against: dbede120c63df43995813a847a25b0e66e289592
The result of `deviceScaleFactor` of `1` should result in a blurry image as shown here:
[PW `deviceScaleFactor` set to `1`]
And when it is …
-
This issue turned out to be invalid but we [decided](https://github.com/grafana/xk6-browser/issues/231#issuecomment-1040104048) to add a test.
---
Currently (4ae711e) the [`injected_script.js`](…
-
A long time ago, in ~a galaxy~ #131, we introduced the undocumented `XK6_BROWSER_LOG` environment variable, used to control the log level globally. At the time, this was only useful for developers, bu…
-
### Brief summary
Try to run `examples/hosts.js` and it should not be able to navigate to `test.k6.io` since the `hosts` option has been used so that `test.k6.io` resolves to `127.0.0.254`. This is t…
-
On current `main` (917b83e) on Linux and Chromium 97, running the following script:
```javascript
import launcher from 'k6/x/browser';
export default function() {
const browser = launcher.la…