All Projects → grafana → xk6-browser

grafana / xk6-browser

Licence: AGPL-3.0 license
k6 extension that adds support for browser automation and end-to-end web testing via the Chrome Devtools Protocol

Programming Languages

go
31211 projects - #10 most used programming language
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to xk6-browser

learn-browser-testing
Repository for my upcoming course & workshop
Stars: ✭ 105 (-48.53%)
Mutual labels:  end-to-end-testing, browser-automation
Electron Vue
An Electron & Vue.js quick start boilerplate with vue-cli scaffolding, common Vue plugins, electron-packager/electron-builder, unit/e2e testing, vue-devtools, and webpack.
Stars: ✭ 14,610 (+7061.76%)
Mutual labels:  end-to-end-testing
Jest Playwright
Running tests using Jest & Playwright 🚀
Stars: ✭ 296 (+45.1%)
Mutual labels:  end-to-end-testing
Testing Workshop
A workshop for learning how to test JavaScript applications
Stars: ✭ 1,276 (+525.49%)
Mutual labels:  end-to-end-testing
Gnomock
Test your code without writing mocks with ephemeral Docker containers 📦 Setup popular services with just a couple lines of code ⏱️ No bash, no yaml, only code 💻
Stars: ✭ 398 (+95.1%)
Mutual labels:  end-to-end-testing
Cypress Social Logins
Cypress authentication flows using social network providers
Stars: ✭ 151 (-25.98%)
Mutual labels:  end-to-end-testing
w3c-webdriver
W3C WebDriver JavaScript Client
Stars: ✭ 28 (-86.27%)
Mutual labels:  end-to-end-testing
k6-action
k6 is now available as a GitHub Action
Stars: ✭ 64 (-68.63%)
Mutual labels:  k6
Seleniumbase
A Python framework that inspires developers to become better test automation engineers. 🧠💡
Stars: ✭ 2,520 (+1135.29%)
Mutual labels:  end-to-end-testing
Testcafe
A Node.js tool to automate end-to-end web testing.
Stars: ✭ 9,176 (+4398.04%)
Mutual labels:  end-to-end-testing
Open Bank Mark
A bank simulation application using mainly Clojure, which can be used to end-to-end test and show some graphs.
Stars: ✭ 81 (-60.29%)
Mutual labels:  end-to-end-testing
Selendroid
"Selenium for Android" (Test automate native or hybrid Android apps and the mobile web with Selendroid.) Join us on IRC #selendroid on freenode. Also confirm you have signed the CLA http://goo.gl/pAvxEI when making a Pull Request.
Stars: ✭ 828 (+305.88%)
Mutual labels:  end-to-end-testing
Cypress Realworld App
A payment application to demonstrate real-world usage of Cypress testing methods, patterns, and workflows.
Stars: ✭ 2,888 (+1315.69%)
Mutual labels:  end-to-end-testing
Codeceptjs
Supercharged End 2 End Testing Framework for NodeJS
Stars: ✭ 3,592 (+1660.78%)
Mutual labels:  end-to-end-testing
Green Coffee
Android library that allows you to run your acceptance tests written in Gherkin in your Android instrumentation tests.
Stars: ✭ 219 (+7.35%)
Mutual labels:  end-to-end-testing
Cabbie
WebDriver for the masses
Stars: ✭ 70 (-65.69%)
Mutual labels:  end-to-end-testing
Nightwatch
End-to-end testing framework written in Node.js and using the Webdriver API
Stars: ✭ 10,912 (+5249.02%)
Mutual labels:  end-to-end-testing
emaile2e-javascript-client
Test email integration with your app using MailSlurp
Stars: ✭ 14 (-93.14%)
Mutual labels:  end-to-end-testing
Qawolf
🐺 Create browser tests 10x faster
Stars: ✭ 2,912 (+1327.45%)
Mutual labels:  end-to-end-testing
Endly
End to end functional test and automation framework
Stars: ✭ 178 (-12.75%)
Mutual labels:  end-to-end-testing

xk6-browser

Browser automation and end-to-end web testing for k6

An extension for k6 adding browser-level APIs with rough Playwright compatibility.

Github release Build status Go Report Card
@k6_io on Twitter Slack channel

Download · Documentation · Community Forum


---


xk6-browser is a k6 extension that supports browser automation through the Chrome Devtools Protocol (CDP). It adds browser-level APIs to interact with browsers and collect frontend performance metrics as part of your k6 tests.

As of k6 version 0.43.0, xk6-browser is now bundled in k6 as an experimental module, and usable without a separate binary or compilation step!

Special acknowledgment to the authors of Playwright and Puppeteer for their trailblazing work in this area. This project is heavily influenced and in some regards based on the code of those projects.

Goals

  • Bring browser automation to the k6 testing platform while supporting core k6 features like VU executors, scenarios, metrics, checks, thresholds, logging, DNS remapping, IP blocklists, etc.
  • Test stability as the top priority by supporting non-flaky selectors combined with auto-waiting for actions just like Playwright.
  • Aim for rough API compatibility with Playwright. The reason for this is two-fold; for one we don't want users to have to learn a completely new API just to use xk6-browser, and secondly, it opens up for using the Playwright RPC server as an optional backend for xk6-browser should we decide to support that in the future.
  • Support for Chromium compatible browsers first, and eventually Firefox and WebKit-based browsers.

See our project roadmap for more details.

Get started

Documentation

Get help

  • If you're having issues installing or running xk6-browser, refer to TROUBLESHOOTING.
  • To get help about usage, report bugs, suggest features, and discuss xk6-browser with other users see SUPPORT.md.
  • Community discussion happens at the xk6-browser forum.

Additional resources

To find out more about xk6-browser or browser testing in general, check out the following links.

Note: since our API is still transitioning, some of the code snippets from the links below might be inaccurate, though the concepts should still be correct. For the latest, refer to our up-to-date API documentation.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].