Socket
Socket
Sign inDemoInstall

ventriloquist

Package Overview
Dependencies
50
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ventriloquist

Give voice to your puppeteer website puppets


Version published
Weekly downloads
2
increased by100%
Maintainers
1
Install size
278 MB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 02 Dec 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc