Skip to content
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.

Latest commit

 

History

History
40 lines (28 loc) · 1.24 KB

api.md

File metadata and controls

40 lines (28 loc) · 1.24 KB

Modules

playwright-addons/adblocker
playwright-addons/stealth

playwright-addons/adblocker

module.exports(br, [options]) ⏏

Enable the ad blocker add-on

Kind: Exported function

Param Type Default Description
br Browser Playwright Browser or BrowserContext object
[options] Object {} optional options to pass
[options.customList] string provide a custom block list URL instead of the standard one
[options.blockTrackers] boolean false block trackers in addition to ads

playwright-addons/stealth

module.exports(br) ⏏

Enable the stealth add-on

Kind: Exported function

Param Type Description
br Browser Playwright Browser or BrowserContext object