modules/

directory
v1.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2026 License: AGPL-3.0

Directories

Path Synopsis
k6
Package k6 implements the module imported as 'k6' from inside k6.
Package k6 implements the module imported as 'k6' from inside k6.
browser/browser
Package browser is the browser module's entry point, and initializer of various global types, and a translation layer between sobek and the internal business logic.
Package browser is the browser module's entry point, and initializer of various global types, and a translation layer between sobek and the internal business logic.
browser/chromium
Package chromium is responsible for launching a Chrome browser process and managing its lifetime.
Package chromium is responsible for launching a Chrome browser process and managing its lifetime.
browser/common
Package common provides the main logic of the browser module.
Package common provides the main logic of the browser module.
browser/common/js
Package js provides JavaScript code that the browser module evaluates on the browser.
Package js provides JavaScript code that the browser module evaluates on the browser.
browser/env
Package env provides types to interact with environment setup.
Package env provides types to interact with environment setup.
browser/k6error
Package k6error contains ErrFatal.
Package k6error contains ErrFatal.
browser/k6ext
Package k6ext acts as an encapsulation layer between the k6 core and xk6-browser.
Package k6ext acts as an encapsulation layer between the k6 core and xk6-browser.
browser/k6ext/k6test
Package k6test provides mock implementations of k6 elements for testing purposes.
Package k6test provides mock implementations of k6 elements for testing purposes.
browser/keyboardlayout
Package keyboardlayout provides keyboard key interpretation and layout validation.
Package keyboardlayout provides keyboard key interpretation and layout validation.
browser/log
Package log provides logging for the browser module.
Package log provides logging for the browser module.
browser/storage
Package storage provides data storage for the extension and user specific data.
Package storage provides data storage for the extension and user specific data.
browser/tests
Package tests provides integration tests.
Package tests provides integration tests.
browser/tests/ws
Package ws provides a test WebSocket server.
Package ws provides a test WebSocket server.
browser/trace
Package trace provides tracing instrumentation tailored for k6 browser needs.
Package trace provides tracing instrumentation tailored for k6 browser needs.
crypto
Package crypto provides common hashing function for the k6
Package crypto provides common hashing function for the k6
crypto/x509
Package x509 provides X.509 certificate parsing for the k6
Package x509 provides X.509 certificate parsing for the k6
data
Package data implements `k6/data` js module for k6.
Package data implements `k6/data` js module for k6.
encoding
Package encoding provides encoding/decoding functionality for the k6
Package encoding provides encoding/decoding functionality for the k6
execution
Package execution implements k6/execution which lets script find out more about it is execution.
Package execution implements k6/execution which lets script find out more about it is execution.
experimental
Package experimental includes experimental module features
Package experimental includes experimental module features
experimental/csv
Package csv provides a CSV parser for k6.
Package csv provides a CSV parser for k6.
experimental/fs
Package fs provides a k6 module that allows users to interact with files from the local filesystem as per the [File API design document].
Package fs provides a k6 module that allows users to interact with files from the local filesystem as per the [File API design document].
experimental/streams
Package streams provides support for the Web Streams API.
Package streams provides support for the Web Streams API.
grpc
Package grpc is the root module of the k6-grpc extension.
Package grpc is the root module of the k6-grpc extension.
metrics
Package metrics implements k6/metrics and let script work with custom metrics.
Package metrics implements k6/metrics and let script work with custom metrics.
secrets
Package secrets implements `k6/secrets` giving access to secrets from secret sources to js code.
Package secrets implements `k6/secrets` giving access to secrets from secret sources to js code.
timers
Package timers exposes setInterval setTimeout and co.
Package timers exposes setInterval setTimeout and co.
webcrypto
Package webcrypto exports the webcrypto API.
Package webcrypto exports the webcrypto API.
websockets
Package websockets implements to some extend WebSockets API https://websockets.spec.whatwg.org
Package websockets implements to some extend WebSockets API https://websockets.spec.whatwg.org
websockets/events
Package events represent the events that can be sent to the client https://dom.spec.whatwg.org/#event
Package events represent the events that can be sent to the client https://dom.spec.whatwg.org/#event
ws
Package ws implements a k6/ws for k6.
Package ws implements a k6/ws for k6.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL