matrix-puppeteer-line/puppet/prep_helper.js

15 lines
331 B
JavaScript
Raw Normal View History

2021-02-26 03:27:25 -05:00
import puppeteer from "puppeteer"
(async () =>
{
const pathToExtension = "extension_files"
const browser = await puppeteer.launch({
headless: false,
args: [
`--disable-extensions-except=${pathToExtension}`,
`--load-extension=${pathToExtension}`
],
timeout: 0,
2021-02-26 03:27:25 -05:00
})
})()