No results for

Powered byAlgolia

Returns the browser instance that this BrowserContext belongs to.

Returns

TypeDescription
BrowserThe Browser instance.

Example

import { chromium } from 'k6/x/browser';
export default function () {
const browser = chromium.launch();
const context = browser.newContext();
const contextBrowser = context.browser();
contextBrowser.close();
}