const browserMgr = await BrowserMgr.build({
browserType: chromium,
idleCloseSeconds: 60,
launchOpts: {
headless: true
},
device: devices['Pixel 5'],
maxOpenedBrowsers: BrowserMgr.MAX_OPEN_BROWSERS,
lockCloseFirst: 60
})
const { content } = await browserMgr.getContent({
donor,
acceptor,
url,
html: text,
replacers,
removers,
customs,
isFlasher,
rewriteOpts,
virtualPath,
nReadOpts
})
await browserMgr.close()
-
Notifications
You must be signed in to change notification settings - Fork 2
dofiltra/browser-manager
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Packages 0
No packages published