No results for

Powered byAlgolia
⚠️ This is the archived documentation for k6 v0.44.

executablePath()

Returns the path where the extension expects to find the browser executable.

Returns

TypeDescription
stringThe expected browser executable path

Example

import { chromium } from 'k6/experimental/browser';
export default function () {
const execPath = chromium.executablePath();
console.log(execPath);
}