ventriloquist
v0.0.1
Published
Give voice to your puppeteer website puppets
Downloads
4
Maintainers
Readme
Ventriloquist
Automated testing tool for your websites to see how they look on Chrome using puppeteer
Usage:
const Ventriloquist = require('ventriloquist');
new Ventriloquist({
startUrls: 'url' || ['array', 'of', 'url'], // list of starting urls
linkSelectors: 'link selector'/['array', 'of', 'selectors'], // selectors to be sent to document.querySelectorAll
depth: 1, // depth of crawling which is not used a.t.m.
puppeteerCfg: {}, // see puppeteer for browser config
login: false || {url: 'login-url', fields: [ // this part is prob. buggy as hell
{selector: 'selector', value: 'value'}
]},
ss: { // screenshot config
addTime: false,
fullPage: true,
},
outDir: path.resolve(__dirname, 'out'), // report output directory
})