Page MenuHomeSealhub

browser-creator.js
No OneTemporary

browser-creator.js

import { firefox } from "playwright";
let browser_promise = null;
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
export async function getBrowser() {
if (!browser_promise) browser_promise = firefox.launch();
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
return browser_promise;
}

File Metadata

Mime Type
text/x-java
Expires
Thu, Jan 23, 19:19 (19 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
599311
Default Alt Text
browser-creator.js (334 B)

Event Timeline