1.0.0 • Published 4 years ago
puppeteer-extra-plugin-open-site-flash v1.0.0
puppeteer-extra-plugin-open-site-flash
puppeteer-extra-plugin-open-site-flash
Install
yarn add puppeteer-extra-plugin-open-site-flash
Use
await browser.flash('http://ultrasounds.com/')
Example
const puppeteer = require('puppeteer-extra')
puppeteer.use(require('puppeteer-extra-plugin-open-site-flash')())
puppeteer.launch({ headless: true }).then(async browser => {
const page = await browser.newPage()
// open flash
await browser.flash('http://ultrasounds.com/')
await page.goto('http://ultrasounds.com', { waitUntil: 'domcontentloaded' })
//...
await browser.close()
})
1.0.0
4 years ago