puppeteer-addons
v999.9.9
Published
A collection of utility functions for Puppeteer to simplify browser automation tasks.
Maintainers
Readme
puppeteer-addons
A collection of utility functions for Puppeteer to simplify browser automation tasks.
Installation
npm install puppeteer-addonsUsage
const {
wait,
randomDelay,
waitForSelectorExist,
clearAndType,
typeWithRandomDelay,
waitForCaptchaToDisappear,
clickSafeWithRetry,
fillEmailForm,
attemptPasswordReset,
checkCaptcha,
typePasswordWithCheck,
loadUrl
} = require('puppeteer-addons');
// Example usage of a function
async function myAutomationScript(page) {
// ... your puppeteer code
await loadUrl(page, { SIGNUP_URL: 'https://example.com/signup' });
await fillEmailForm(page);
// ... more puppeteer actions
}