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

protractor-console

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

protractor-console

Print console logging statements that occur during Protractor test runs.

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.6K
increased by1.8%
Maintainers
1
Weekly downloads
 
Created
Source

protractor-console build status

Display log statements from the browser that occur while Protractor tests are running. Similar to the "Console Plugin" that comes with Protractor, but with some significant differences:

  • Associates logs with individual tests, printing them after each test run. "Console Plugin" only prints logs after all tests have run, making it more difficult to understand when they occured. For this to be truly beneficial, it should be used in conjunction with a more sophisticated test reporter like https://github.com/bcaudan/jasmine-spec-reporter.

image

  • Allows filtering all log levels.

Installation

npm install --save-dev protractor-console

Usage

This module is implemented as a Protractor plugin. Add it in the Protractor config like so:

exports.config = {
  plugins: [{
    package: 'protractor-console',
    logLevels: ['severe']
  }],

Configuration

  • logLevels: Inclusive Array filter for which log levels to show. Can be any of 'debug', 'info', 'warning' and 'severe'. Defaults to ['severe', 'warning'].

Keywords

FAQs

Package last updated on 29 Jul 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