1.0.0 • Published 3 years ago
automation-extra v1.0.0
automation-extra
Driver agnostic plugin framework used by playwright-extra and puppeteer-extra.
Installation
yarn add automation-extra
- v4.1
- Initial public release
Context
- A rewrite of the
puppeteer-extra
plugin system to be driver agnostic and support both Puppeteer and Playwright. - Not meant to be used directly by end-users but through
puppeteer-extra
andplaywright-extra
. - Supports both legacy PuppeteerExtraPlugins as well as new AutomationExtraPlugins.
API
Table of Contents
addExtraPlaywright(launcher)
launcher
PlaywrightBrowserLauncher Playwright (or compatible) browser launcher
Returns: PlaywrightExtra
Augment the provided Playwright browser launcher with plugin functionality.
Example:
import playwright from 'playwright'
const chromium = addExtra(playwright.chromium)
chromium.use(plugin)
addExtraPuppeteer(launcher)
launcher
PuppeteerBrowserLauncher Puppeteer (or compatible) browser launcher
Returns: PuppeteerExtra
Augment the provided Puppeteer browser launcher with plugin functionality.
Example:
import vanillaPuppeteer from 'puppeteer'
const puppeteer = addExtra(vanillaPuppeteer)
puppeteer.use(plugin)
License
Copyright © 2018 - 2020, berstend̡̲̫̹̠̖͚͓̔̄̓̐̄͛̀͘. Released under the MIT License.
4.2.1-next.616
3 years ago
4.2.1-next.593
3 years ago
4.2.1-next.590
3 years ago
4.2.1-next.587
3 years ago
4.2.1-next.588
3 years ago
4.2.1-next.589
3 years ago
1.0.0
3 years ago