Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

protractor-console-plugin

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protractor-console-plugin

Protractor plugin that checks the browser log after each test for warnings and errors

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.9K
increased by8.35%
Maintainers
2
Weekly downloads
 
Created
Source

Console Plugin (Chrome only)

This plugin checks the browser log after each test for warnings and errors. It can be configured to fail a test if either is detected. There is also an optional exclude parameter which accepts both regex and strings. Any log matching the exclude parameter will not fail the test or be logged to the console. A false setting to logWarnings also overrides the failOnWarning setting.

exports.config = {
  plugins: [{
    package: 'protractor-console-plugin',
    failOnWarning: {Boolean}                (Default - false),
    failOnError: {Boolean}                  (Default - true),
    logWarnings: {Boolean}                  (Default - true),
    exclude: {Array of strings and regex}   (Default - [])
  }]
};

Note that this plugin's behavior is undefined on browsers other than Chrome. Firefox users have reported flaky results.

Keywords

FAQs

Package last updated on 25 Nov 2015

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc