ventriloquist
Give voice to your puppeteer website puppets
Last updated 2 years ago by fmakdemir .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ventriloquist 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.1                                ...           latest (2 years ago)

1 Versions

  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 3
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |