ventriloquist

0.0.1 • Public • Published

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
})

Package Sidebar

Install

npm i ventriloquist

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • fmakdemir