K6 browser args. Additional lifecycle functions.

For the real running test that is fine and makes it easy to configure the browser. k6 YouTube channel. So far it has gone quite well but we have hit an issue. 2 Likes. A list of awesome stuff about k6. But also we want to keep our already written cypress tests. Add virtual users. warning The k6 gRPC API is currently considered in beta and is subject to change. . For each k6 scenario, the VU workload is scheduled by an executor. 43 to get the environment variables without depending on the operating system. launch({ args: [], // Extra commandline arguments to include when launching browser process debug: true, // Log all CDP messages to k6 logging subsystem devtools: true, // Open up developer tools in the browser by default env: {}, // Environment variables to set before launching browser This would go against a core k6 goal: the same script should be executable in multiple modes. It adds browser-level APIs to interact with browsers and collect frontend performance metrics as part of your k6 tests. Use web assertions that assert visibility or a locator-based locator. parseHTML k6 extension that adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol - Add goja to dependabot · grafana/xk6-browser@6fe33b0 The browser module is now available as k6/browser instead of k6/experimental/browser. js Below is the question I have to increase based on the above observation: 1. A 2-3 hour k6 workshop with practical k6 examples using the QuickPizza demo app. js you need to put a "-e" before every argument you pass through the script. k6/http The k6/http module contains functionality for performing HTTP transactions. The executor that you choose depends on the goals of your test and the type of traffic you want to model. ; If static files are required then add them to . While my experiments showed some promising results where I was able to run a test in a non incognito window, for a final solution, it requires further discussion and possibly quite a lot of changes and many more test runs to validate the solution. load. isMobile: boolean: false: Whether to import papaparse from '. You can pass one or more of the arguments to the K6_BROWSER_IGNORE_DEFAULT_ARGS environment variable when starting a test for the ones you want to ignore. docs browser. Migrating to k6 v0. So first of all I can’t load . Oct 20, 2021 · In this article we’ll focus on the k6 folder. Follow along to learn how to: Run a test. Visual Studio Code Extension - Run k6 Jul 3, 2023 · Prerequisite: To use the k6 browser test, ensure you use version v0. Jul 2, 2024 · K6_BROWSER_ARGS="proxy-server=<proxy_host>:<proxy_port>" environment variable. Couldn’t find such in official docs. Who can help me link or another help Follow along to learn how to run a browser test, interact with elements on the page, wait for page navigation, write assertions and run both browser-level and protocol-level tests in a single script. I don’t know if it fits your needs. rcalaf May 23, 2024, 9:44am 3. It can also b Migrating to k6 v0. That is, command-line flags have the highest order of precedence. The old browser tests (Selenium) the new scripts are based on would trigger app insights that we monitor in a dashboard. stress. open call, the popup will belong to the parent page's BrowserContext. 79 and Linux, running the evaluate. file( data, [filename], [contentType] ) Create a file object that is used for building multi-part A default BrowserContext is created when a browser is launched. I’m running k6 browser test and according browser data received looks like cache doesn’t work. k6 extension that adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol - Remove the BaseEventEmitter from browser · grafana/xk6-browser@4fdce45 First, k6 uses the option's default value. Try the HAR converter. Aug 15, 2023 · When running docker, can you try adding the environment variable K6_BROWSER_ARGS? docker run --rm -i -e K6_BROWSER_ARGS='no-sandbox' <your-image> run - <test. At the moment I have one question, that I can’t resolve on my own. Parameter Type Description; command: string: command name to issue to the Redis server, as described in Redis' documentation. Additionally, you can mix Toggle navigation. View organizations. Enables execution in the k6 cloud. Order of precedence You can set options in multiple places. Ramp the number of requests up and down as the test runs. I’m interested in setting up “enable cache” option in k6/browser. Example A k6 script that initiates a WebSocket connection, sends a ping, and closes it using the onopen handler. exe binary in your PATH to run k6 from any location. Basically when running the app you will install the missing libs by configuring your Docker file then when your app is running the config options passed to the Puppeteer object will allow Jul 25, 2023 · Hello, dear k6 community! I’m recently joined on the board and I glad to use this framework for daily performancre testing. k6 adds tags to the requests, making it easier to filter results. timers. 0, xk6-browser is now bundled in k6 as an experimental module, and usable without a separate binary or compilation step! xk6-browser-async-await. see: Need to launch a browser instance that uses a proxy - #5 by bandorko. ignoreHTTPSErrors: boolean: false: Whether to ignore HTTPS errors that may be caused by invalid certificates. Function Description batch( requests ) Issue multiple HTTP requests in parallel (like e. Then, k6 uses the script value (if set). setArgs(Arrays. Run local tests . Jul 13, 2023 · Investigation. Jun 5, 2023 · Hi @krikeri,. The previous k6/experimental/browser module will be removed on September 23rd, 2024. : extensionsrc) The tests need to have the "test" word in the name to distinguish them from auxiliary files. Dec 19, 2023 · With the introduction of k6 and its extensible modules, browser testing is possible in a similar manner as Chromium through the browser module. protocol load e. A default BrowserContext is created when a browser is launched. Codeless UI tool to generate a k6 test quickly. e. Page object model pattern Jan 19, 2023 · export function webtest() { const browser = chromium. But, if you have a k6 Cloud account, you can also use the k6 cloud command to outsource the test to k6 How to analyze the browser metrics output; How to set thresholds for your browser metrics; Google's Core Web Vitals. 29. 50 VUs each try to run 100 iterations in one minute. The Browser module brings browser automation and end-to-end web testing to k6 while supporting core k6 features. launch ('chromium', {args: [], // Extra commandline arguments to include when launching browser process debug: true, // Log all CDP messages to k6 logging subsystem devtools: true, // Open up developer tools in the browser by default env: {}, // Environment k6 extension that adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol - Add a local file persister · grafana/xk6-browser@a1811ba Integrations & Tools Test authoring Codeless tools to speed up the test creation. 43, k6 has added an experimental module for xk6-browser, which means you can write browser tests without using external extensions. json settings. It’s also in these forums where you’ll be able to get help from members of the k6 development team. open call, the popup will belong to the parent page’s BrowserContext. . k6 is optimized for minimal resource consumption and designed for running high-load performance tests such as spike, stress, or soak tests. 46). To achieve the goals outlined above I’ve created the following folder structure. IDE extensions Code k6 scripts in your IDE of choice. Selectors are strings that represents a specific DOM element on the page. Sign in The k6/http module contains functionality for performing HTTP transactions. import http from 'k6/http'; export const options = { discardResponseBodies: true }; export default function {} export function setup() { // Get 10 random bytes as an ArrayBuffer. Jul 15, 2022 · Tested against: dbede12 I was testing the Launch function with the following script as I was testing the args option: import { sleep } from 'k6'; import launcher from 'k6/x/browser'; export default function { const browser = launcher. js and For multiple arguments: k6 run -e ENVIRONMENT=test2 -e WOID=107376 scripts/test2GetWorkOrder. /assets folder. k6 extension that adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol - Add comments to test to bring clarity · grafana/xk6-browser@8fd96c5 WebSocket. Subscribe now Mar 29, 2024 · Hi, I am new to k6 browser and i have experience with playwright i am just wondering how can we achieve SSO /AAD login in k6 browser , I can able to acheive in playwright by setting the arguments as launchOptions. On Linux and macOS make sure this is done by referencing the file in the current directory, e. See this link for a list of Chromium arguments. 1. 4. This release introduces a fully Async API Define the HTTP requests and methods you want to use. Returns the buffer with the captured screenshot from the browser. If you use one or more k6 extensions, you need a k6 k6 extension that adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol - Releases · grafana/xk6-browser Aug 18, 2023 · With the new k6 version 0. k6-core upgraded to a new API in v0. This is a security measure to avoid the risk of uploading sensitive data to k6 Cloud. Browser module: page. But, if you have a k6 Cloud account, you can also use the k6 cloud command to outsource the test to k6 servers. but I am having this file and I add screenshot step after every line, and the screenshot after the last line is return but the script doesn’t complete, can someone help me on why is that ? ERRO[0102] Ignored call to ‘alert()’. APIs. /k6 /env /local config. waitFor([options]) instead. js”, I can run, but just in the command prompt. The cron job should run on a schedule and run a delete and then apply of a k6 object. I want to know - it's real? Load test on page with WebGL context in headless mode Google not helped me. io - Provide K6_BROWSER_ARGS as a comma-separated list · grafana/k6@24ac4bf Then, you can use check from the k6 API to assert the text content of a specific element. By default, passing system environment variables doesn't work for k6 archive, k6 cloud, and k6 inspect. A directory full of example k6 scripts for different use cases. Saved searches Use saved searches to filter your results more quickly The k6 browser module has changed my approach to automated performance testing. The Browser recorder uses the HAR converter under the hood. When writing browser-level tests, it’s recommended to use selectors that are robust to avoid test flakiness when the DOM structure changes. The real power of the browser module shines when it’s combined with the existing features of k6. Increase the test duration. Run both browser-level and protocol-level tests in a single script. 43 and above. The browser module API is used to create a new BrowserContext. Browser Recorder - Record a user journey to create your k6 test. 50 VUs try to run as many iterations as possible for 30 seconds. k6/html. Awesome k6. Note that arguments should not start with --(see the command example below). K6 will help you to build resilient and performant applications that scale. 46 it is necessary to define the browser type in the scenario. If you need the response body for some requests, override the option with Params. You can use ping messages to verify that the remote endpoint is responsive. I hope this helps . But we want to use k6 as our new main load testing tool. Feb 7, 2024 · Hi. 43. In this webinar, learn how Grafana Cloud k6 offers you the best developer experience for performance testing. Examples. options. Oct 20, 2023 · In this blog post you will learn how to get started with browser performance testing using k6. k6 has a growing and helpful community of engineers working with k6-operator, so there’s a good chance your issue has already been discussed and overcome. Running these tests requires a little more setup, the basic steps are: Create a configmap of js test files (Covered above) Create a configmap of the yaml for the k6 job; Create a service account that lets k6 objects be created and deleted k6 provides the Tags and Groups APIs to help you during the analysis and easily visualize, sort and filter your test results. Through the k6 browser API, you can run browser-based performance tests and collect browser metrics to identify performance issues related to browsers. 0 OS macOS 13. 0. So the logs are pushed to Loki through this hook via HTTP POST requests to the configured endpoint. Browser testing. Scenario executors. json config. : K6_INFLUXDB_BUCKET: The bucket name to store k6 metrics data. This section provides some conceptual background about the core vitals. I would grateful to some advice from developers or more experienced user than I am. The flexibility and interoperability of Grafana and k6 let you visualize test and observability data in one dashboard, regardless of where the data is stored. cookieJar() Get active HTTP Cookie jar. io/v1alpha1 kind: K6 metadata: name: k6-sample spec: parallelism: 1 runner: image: wjcheng1/k6 This would go against a core k6 goal: the same script should be executable in multiple modes. Test Builder - Inspired by the Postman API Builder. password: string '' Password to pass to the web browser for Basic HTTP Authentication. The document is sandboxed, and the ‘allow-modals’ keyword is Running k6. After downloading and extracting the archive for your platform, place the k6 or k6. Before version v0. Jun 16, 2022 · We have a lot of cypress tests in our Angular Project. k6 extension that adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol - Remove browser module Version · grafana/xk6-browser@afd1811 Apr 25, 2023 · Thank you, with this command “set “K6_BROWSER_ENABLED=true” && k6 run script. Additional details on the k6 cloud offering are available at https://k6. If you experience problems recording a request, try the HAR converter. After, k6 uses the environment variable (if set). Using k6 extensions. I appreciate your reply. js I think the behavior has changed with the breaking changes in v0. For more about running k6, refer to the Running k6 guide. Implementation. For details, refer to Custom summary. Running the tests in At the beginning of the test, k6 starts the contacts scenario. responseType. If you want to make a custom summary, k6 calls one more lifecycle function at the very end of the test. We were able to replicate the issue quite easily when connected to a remote Chrome instance, but not at all when running it to a locally running chrome instance. thanks for the heads up on that! I took a quick look at Puppeteer and tried to replicate it in the k6 browser module. k6 extension that adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol - Update to latest k6 · grafana/xk6-browser@41a16ca k6 extension that adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol - Fix TestBrowserOptionsSlowMo dispatch event · grafana/xk6-browser@0a34ed2 ENV Default Description; K6_INFLUXDB_ORGANIZATION: Your InfluxDB organization name. evaluate(pageFunction[, arg]) method. Different ways k6 can schedule VUs, their affects on test results, and how k6 implements the open model in its arrival-rate executors: Graceful Stop: A configurable period for iterations to finish or ramp down after the test reaches its scheduled duration: Arrival-rate VU allocation: How k6 allocates VUs in arrival-rate executors: Dropped k6 extension that adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol - Update workflows to use K6_BROWSER_HEADLESS · grafana/xk6-browser@6ffa156 k6 extension that adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol - Remove chrome setup step · grafana/xk6-browser@e65317e import launcher from "k6/x/browser"; export default function {const browser = launcher. Sep 16, 2022 · On current main (96b89a1), Chromium 104. When writing browser-level tests, it's recommended to use selectors that are robust to avoid test flakiness when the DOM structure changes. The k6 browser module emits metrics based on the Core Web Vitals. With these example snippets, you’ll run the test with your machine’s resources. I am running k6 through Docker and have the following Dockerfile: FROM grafana/k6:latest USER root RUN apk update && apk add --no-cache chromium ENV K6_BROWSER_ENABLED=true ENV LOAD_TEST_TARGET_VU_COUNT=1 ENV LOAD_TEST_SECRET_SEED=1 Here is my test script: import { sleep, check } from "k6"; import { Rate } from "k6/metrics Different ways k6 can schedule VUs, their affects on test results, and how k6 implements the open model in its arrival-rate executors: Graceful Stop: A configurable period for iterations to finish or ramp down after the test reaches its scheduled duration: Arrival-rate VU allocation: How k6 allocates VUs in arrival-rate executors: Dropped By default, passing system environment variables doesn’t work for k6 archive, k6 cloud, and k6 inspect. Mar 1, 2023 · Hi @f. Finally, you close the page and the browser. Similarly i tried in k6 k6 extension that adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol - Refactor the predicate call for waitForEvent · grafana/xk6-browser@c6051f6 May 22, 2024 · K6_BROWSER_ARGS='allow-scripts' k6 run script. Is it possible to execute cypress tests within k6? e. i want to run in vs code terminal-powershell, must be possible that… Using k6, you can stream your local test results to any backend. js Hope this helps. Headless: $ XK6_BROWSER_LOG=info XK6_HEADLESS Hybrid performance with k6 browser. js (folder name e. Since k6 browser aims to provide rough compatibility with the Playwright API, you can leverage any existing page objects you have and easily re-use them with your k6 browser tests. httpCredentials. del( url, [body], [params] ) Issue an HTTP DELETE request. k6 is optimized for minimal resource consumption and designed for running high load tests (spike, stress, soak tests) . mp4 Using k6 browser. , and Grafana Cloud Prometheus i have the following resource file: apiVersion: k6. The console should log connection is alive, since the recipient should automatically emit the pong event. redis. Like the Browser Recorder, the HAR converter creates a k6 script from the HTTP requests included in a HAR file. List of default arguments included when launching the browser process. : args: a variadic array of strings, numbers, or booleans Download the k6 binary. Mar 30, 2024 · I try to set K6_BROWSER_ARGS=disable-gpu,enable-webgl but not get success result. User-centered observability: load testing, real user monitoring, and synthetics Learn how to use load testing, synthetic monitoring, and real user monitoring (RUM) to understand end users' experience of your apps. See also Browser module: page. browsers tend to do). To override this mode, specify –include-system-env-vars. Question is next: I created simple scenario like this: import { chromium } from 'k6/x/browser'; import { sleep } from May 8, 2023 · Hello, I’m having trouble getting a browser test to work. js'; import { SharedArray } from 'k6/data'; // not using SharedArray here will mean that the code in the function call (that is what loads and // parses the csv) will be executed per each VU which also means that there will be a complete copy // per each VU const csvData = new SharedArray('another data name', function { // Load CSV file and parse it using The k6/net/grpc module, added in k6 v0. You can customize tags as you wish. gardin. ping() Send a ping. Get What can I do with k6? With k6, you can test the reliability and performance of your systems and catch performance regressions and problems earlier. Our GitHub Releases page has a standalone binary for all platforms. K6 is developed by Grafana Labs and the Open-Source community. Overview. Using this requires you to also set up a secret variable in your pipeline named K6_CLOUD_TOKEN. grpc. Before you could use args:['no-sandbox'] (without the --). I was able to enable a chrome extension, but it seems to be a big hack. k6 extension that adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol - Remove browser module version · grafana/xk6-browser@c40d9d7 This section presents some examples and recommended practices when working with the k6 browser module to leverage browser automation as part of your k6 tests. io/cloud/. waitForFunction(pageFunction, arg[, options]) method Jun 3, 2018 · const browser = await puppeteer. Through k6 browser, you can run browser-based performance testing and catch issues related to browsers only which can be skipped entirely from the protocol level. k6 extension that adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol - Fix k6 browser mappings due to goja async update · grafana/xk6-browser@af4687c Aug 27, 2023 · Brief summary I try to set up browser tests with k6. 5112. Office hours, specific playlists, and other interesting videos from the community. tracing. Run scripts that import k6/x/playwright with the new k6 binary. When streaming, use --no-thresholds and --no-summary. However it always failed with browser not found in registry. Contribute to grafana/k6-docs development by creating an account on GitHub. If there are Feb 27, 2023 · Could you try to launch the script with the K6_BROWSER_ARGS=“proxy-server=<proxy_host>:<proxy_port>” environment variable? For me on linux it is working like this if I start a squid proxy on port 3128: Environment Variable Description; K6_BROWSER_ARGS: Extra command line arguments to include when launching browser process. Where to set Jan 11, 2023 · This post explains how to get started with k6 browser, a k6 experimental module that adds browser-level APIs to interact with browsers and collect web performance metrics as part of your k6 tests. k6 has a few additional ways to use lifecycle functions: handleSummary(). So from Prometheus remote write and GitHub - grafana/k6-operator: An operator for running distributed k6 tests. But I have to call a browser during the setup stage once. 0, provides a gRPC client for Remote Procedure Calls (RPC) over HTTP/2. 43, there was a need to download the k6 extension for writing browser tests, but with the release of version 0. A modern load testing tool, using Go and JavaScript - https://k6. The first step of the investigation was to try to replicate the issue. asList(“–auth-server-allowlist”,“–auth-server-whitelist=‘_’,”) and also added HTTPCredentials in browser new context options. Refer to the migration guide for more information on how to update your scripts. The k6 community forum. Jul 4, 2024 · Hello, I am trying to do a very simple script, for a website, to fill a form that has upload file. Browser metrics. 1 Docker version and image (if applicable) grafana/k6:0. An alternative approach to browser-based load testing that’s much less resource-intensive is combining a small number of virtual users for a browser test with a large number of virtual users for a protocol-level test. Running browser tests. Currently, the browser module supports the standard CSS and XPath selectors. You can also access option values as your test runs. But how can I configure the browser type in the setup stage? Using k6 browser. with a window. k6 extension that adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol - Update workflows to use K6_BROWSER_HEADLESS · grafana/xk6-browser@59f6bef With these example snippets, you'll run the test with your machine's resources. g run k6 with 1000 VUs but instead of k6 test script, use cypress test scrpts. Define the executor in executor key of the scenario object. So maybe someone know how to set enable cache option in k6 browser headless? Advanced Examples using the k6 Scenario API - Using multiple scenarios, different environment variables and tags per scenario. Now I’m able to test real user flows while using the same load testing tool to generate multiple users. Jan 31, 2024 · @arvindpatel5788. Client-side performance is paramount to validate the performance of your application along with the network load i. Returns when element specified by selector satisfies state option. To run a simple local script: Create and initialize a new script by running the following command: Be sure to search the k6-operator category in the community forum. To override this mode, specify --include-system-env-vars. Mar 3, 2024 · K6_BROWSER_HEADLESS=true K6_BROWSER_TIMEOUT='300s' K6_BROWSER_ARGS="ignore-certificate-errors" k6 run http. Browser performance testing. /papaparse. Along with startTime, duration, and maxDuration, note the different test logic for each scenario. Empower your development workflow with IDE extensions. We can switch to it to stay compatible and prevent possible clashes. screenshot([options]) method. function or string: Function to be evaluated in the page context. g. json Executors control how k6 schedules VUs and iterations. Using k6 HTTP Requests Metrics Checks Thresholds Options Test lifecycle Modules Tags and Groups Cookies Protocols Environment variables Execution context variables Mar 3, 2018 · For single argument: k6 run -e ENVIRONMENT=test2 scripts/test2GetWorkOrder. k6/browser has now a fully Async API browser#428. on method. Let’s take an example of a website with a booking form added to the homepage. k6 extension that adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol - Fix missing cast check · grafana/xk6-browser@ee6a951 Browser module: page. websockets. The following outputs include pre-built Grafana dashboards for their storage: Jan 28, 2024 · I am a QA at my company currently trying to implement K6 and K6Browser scripts to improve our performance checks. Community. To review the complete list of browser metrics, refer to the section in the Metrics reference. webcrypto. 46. Next, k6 uses the options set in a configuration file via the --config flag. make sure to set browser type option in scenario definition in order to use the browser module. /k6 run <script>, or you can place it somewhere in your PATH so that it can be run from anywhere on your system. In this brief post, we will compare k6 to Selenium to highlight the strengths and differences between these two frameworks. The problem that you are facing is because, even though xk6-browser is now included in k6 as an experimental module, the current k6 Docker image does not include a browser, therefore the launch command is failing to start such process. If you’re running a local test and streaming results to the cloud (k6 run -o cloud), you might want to disable the terminal summary and local threshold calculation, because the cloud service will display the summary and calculate the thresholds. crx file, I had to unpack it into a local folder next to the script. I found out some of these telemetry points are only sent on browser/page close. launch({ args: ['--no-sandbox', '--disable-setuid-sandbox'], ignoreHTTPSErrors: true, dumpio: false }); I hope this helps. Subscribe now Taking a brief look at this, k6 has a Loki implementation of a Logrus hook which is initialized and set based on configuration defined by cmdline flags. Additional lifecycle functions. Feb 21, 2024 · The k6 documentation website. Finally, k6 takes the value from the CLI flag (if set). Troubleshooting. If a page opens another page, e. Cheers! . Executors configure how long the test runs, whether traffic stays constant or changes, and whether the workload is modeled by VUs or by arrival rate (that is, open or closed models). As of k6 version 0. 0-with-browser Steps to reproduce the problem Start k6 in docker using below command docker run Examples Get started with k6 Single request HTTP Authentication OAuth Authentication Correlation and Dynamic Data Data Parameterization Parse HTML HTML Forms Cookies Example Data Uploads API CRUD Operations Generating UUIDs HTTP2 WebSockets SOAP Transport Layer Security (TLS) Generating realistic data Crawl a web page Bundling and transpilation Functional testing Track transmitted data per URL In this webinar, learn how Grafana Cloud k6 offers you the best developer experience for performance testing. This guide outlines the key changes you will need to make when moving your existing k6 browser test scripts to the new k6 browser module (bundled with k6 version 0. This can also be a string. How to use options k6 provides multiple places to set options: In CLI flags In environment variables In the script options object In a configuration file Most likely, your use case will determine where you want to set the particular options for a particular test. After 30 seconds, k6 starts the news scenario. Parameter Type Default Description; event: string '' Event to attach the handler to. You can change the entry here. Common k6 use cases are: Load testing. Hi @inancgumus. waitForSelector(selector[, options]) method. js example fails the width check, but only when run in headless mode. Product developments and news from the k6 community. k6 version 0. Using k6 browser Results output; Testing guides args: a variadic array of strings, numbers, or booleans: command arguments to pass to the Redis server. Jul 10, 2023 · Hi, I’m trying to run some browser tests on k6-operator and output the results to grafana prometheus. I tried your Username to pass to the web browser for Basic HTTP Authentication. hv qq zb qj nf zq xd yo xu rl