npm

puppeteer-extra-plugin-open-site-flash

1.0.0 • Public • Published

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()
})

Readme

Keywords

none

Package Sidebar

Install

npm i puppeteer-extra-plugin-open-site-flash

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

2.83 kB

Total Files

3

Last publish

Collaborators

  • xxllxx