No results for

Powered byAlgolia
⚠️ This documentation is outdated. Please visit grafana.com for the latest k6 documentation.📚

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);
}