# protractor-screenshot-plugin

> Protractor plugin that takes a screenshot after the test failed or executed

Latest version **0.0.3** (published 2019-08-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install protractor-screenshot-plugin
pnpm add protractor-screenshot-plugin
yarn add protractor-screenshot-plugin
bun add protractor-screenshot-plugin
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2019-08-31 |
| First published | 2016-04-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Chien-Ming Lai |
| Maintainers | lcmtwn |
| Keywords | protractor, protractor-plugin, screenshot, testing, webdriver, selenium |

## Links

- npm: https://www.npmjs.com/package/protractor-screenshot-plugin
- Repository: https://github.com/lcmtwn/protractor-screenshot-plugin
- Issues: https://github.com/lcmtwn/protractor-screenshot-plugin/issues
- npm.io page: https://npm.io/package/protractor-screenshot-plugin

## Alternatives

- [@snazzah/davey](https://npm.io/package/@snazzah/davey.md) — 1.5M weekly downloads
- [@vendure/testing](https://npm.io/package/@vendure/testing.md) — 8.3K weekly downloads
- [vue-simple-context-menu](https://npm.io/package/vue-simple-context-menu.md) — 6.6K weekly downloads
- [cypress-webpack-preprocessor-v5](https://npm.io/package/cypress-webpack-preprocessor-v5.md) — 2.1K weekly downloads
- [@backstage/plugin-catalog-backend-module-puppetdb](https://npm.io/package/@backstage/plugin-catalog-backend-module-puppetdb.md) — 1.3K weekly downloads

## Recent versions

- 0.0.3 (latest) — 2019-08-31
- 0.0.2 — 2017-10-14
- 0.0.1 — 2016-04-19

## README

Screenshot Plugin
=================
[![npm](https://img.shields.io/npm/dm/protractor-screenshot-plugin.svg?style=flat)](https://www.npmjs.com/package/protractor-screenshot-plugin)
[![npm](https://img.shields.io/npm/dt/protractor-screenshot-plugin.svg?style=flat)](https://www.npmjs.com/package/protractor-screenshot-plugin)
[![npm](https://img.shields.io/npm/v/protractor-screenshot-plugin.svg?style=flat)](https://www.npmjs.com/package/protractor-screenshot-plugin)
[![npm](https://img.shields.io/npm/l/protractor-screenshot-plugin.svg?style=flat)](https://www.npmjs.com/package/protractor-screenshot-plugin)

This plugin takes a screenshot after the test failed. It can also be configured to take a screenshot after each test executed.

```js
exports.config = {
  plugins: [{
    package: 'protractor-screenshot-plugin',

    // Screenshots will be saved in this folder
    folder: 'screenshots',           {Default - 'screenshots'}

    // take a screenshot after each test executed
    takeOnAllCases: {Boolean}        {Default - false}
 }]
};

```

---
_Source: https://npm.io/package/protractor-screenshot-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
