No results for

Powered byAlgolia

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/x/browser';
export default function () {
const execPath = chromium.executablePath();
console.log(execPath);
...
}