matrix-puppeteer-line/puppet/prep_helper.js

14 lines
316 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}`
]
})
})()