Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

puppeteer-extra-plugin-font-size

2.2.4 • Public • Published

puppeteer-extra-plugin-font-size

A plugin for puppeteer-extra.

Install

yarn add puppeteer-extra-plugin-font-size

API

Table of Contents

Plugin

Extends: PuppeteerExtraPlugin

Modify/increase the default font size in puppeteer.

Type: function (opts)

  • opts Object Options (optional, default {})
    • opts.defaultFontSize Number Default browser font size (optional, default 20)

Example:

const puppeteer = require('puppeteer-extra')
puppeteer.use(require('puppeteer-extra-plugin-font-size')())
// or
puppeteer.use(require('puppeteer-extra-plugin-font-size')({defaultFontSize: 18}))
const browser = await puppeteer.launch()

Install

npm i puppeteer-extra-plugin-font-size

DownloadsWeekly Downloads

17

Version

2.2.4

License

MIT

Unpacked Size

6.31 kB

Total Files

5

Last publish

Collaborators

  • avatar