k6
k6 copied to clipboard
A modern load testing tool, using Go and JavaScript - https://k6.io
### Feature Description Implementing `getByTitle` enables selecting elements via their `title` attribute—helpful for tooltips, icons, or elements with semantic hints. For instance, `page.getByTitle('Settings')` would locate ``. The matcher should allow...
### Feature Description With `getByText`, k6 Browser would let scripts locate any DOM element by its visible text content: for example, `page.getByText('Learn more')`. The API should support matching only fully...
### Feature Description To streamline selecting elements meant solely for tests, `getByTestId` would query by the `data-testid` attribute (e.g., `page.getByTestId('user-avatar')`). This approach cleanly separates test hooks from production selectors, preventing...
### Feature Description With a `getByPlaceholder` method, k6 Browser scripts can target `input`s or `textarea`s by their placeholder attribute: e.g., `page.getByPlaceholder('Search…')`. This is particularly useful for quick form tests where...
### Feature Description Implementing `getByLabel` in k6 Browser will let users select form controls by their associated `` text, reducing brittle selectors and improving readability. For example, `page.getByLabel('Email address')` would...
### Feature Description This feature would allow k6 Browser scripts to locate elements—typically images, input fields, or other media elements—that include a specific `alt` attribute value. By mirroring Playwright’s `getByAltText`,...
## What? It migrates the current docker login for `ghcr.io` registry to the shared `docker/` action. ## Why? It reduces the code to maintain. ## Checklist - [ ] I...
### Brief summary Since the removal of the `K6_COMPATIBILITY_MODE=experimental_enhanced` environment option, there is no way to run the k6 docker image with Typescript code: ``` docker run --rm -i grafana/k6...
### Feature Description **This issue is for research and POC work only.** We currently have a limited number of metrics that can help the user diagnose or improve their website....
# What The [injected script](https://github.com/grafana/k6/blob/b61ca160537a021d26695b2b36d2b63259b7016f/internal/js/modules/k6/browser/common/js/injected_script.js) should not depend on global JavaScript objects, such as `Set` and `Map`. # Why Websites under test can overwrite these objects, leading to unexpected behavior....