2.4.1 • Published 2 years ago
puppeteer-extra-plugin-user-preferences v2.4.1
puppeteer-extra-plugin-user-preferences
A plugin for puppeteer-extra.
Install
yarn add puppeteer-extra-plugin-user-preferences
API
Table of Contents
Plugin
Extends: PuppeteerExtraPlugin
Launch puppeteer with arbitrary user preferences.
The user defined preferences will be merged with preferences set by other plugins.
Plugins can add user preferences by exposing a data entry with the name userPreferences
.
Overview: https://chromium.googlesource.com/chromium/src/+/master/chrome/common/pref_names.cc
Type: function (opts)
opts
Object Options (optional, default{}
)opts.userPrefs
Object An object containing the preferences. (optional, default{}
)
Example:
const puppeteer = require('puppeteer-extra')
puppeteer.use(require('puppeteer-extra-plugin-user-preferences')({userPrefs: {
webkit: {
webprefs: {
default_font_size: 22
}
}
}}))
const browser = await puppeteer.launch()
2.4.1
2 years ago
2.3.2
3 years ago
2.4.0
3 years ago
2.3.3
3 years ago
2.3.1
4 years ago
2.3.0
4 years ago
2.2.13
4 years ago
2.2.12
4 years ago
2.2.11
4 years ago
2.2.9
4 years ago
2.2.10
4 years ago
2.2.8
4 years ago
2.2.7
5 years ago
2.2.5
5 years ago
2.2.6
5 years ago
2.2.4
5 years ago
2.2.3
5 years ago
2.2.1
5 years ago
2.2.2
5 years ago
2.1.5
5 years ago
2.1.2
6 years ago
2.1.1
7 years ago
2.0.10
7 years ago
2.0.7
7 years ago
2.0.6
7 years ago
2.0.5
7 years ago
2.0.4
7 years ago
2.0.3
7 years ago
2.0.2
7 years ago
2.0.1
7 years ago