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

@deploysentinel/playwright

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deploysentinel/playwright

Enables viewing/debugging Playwright runs from remote environments (ex. CI) with debug information you're used to having locally.

  • 0.3.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
304
decreased by-30.59%
Maintainers
2
Weekly downloads
 
Created
Source

DeploySentinel Playwright Reporter

Enables viewing/debugging Playwright runs from remote environments (ex. CI) with debug information you're used to having locally.

Installation

Install the Playwright reporter into your Playwright project.

npm install -D @deploysentinel/playwright

Usage

Add Reporter

In your playwright config file (ex. playwright.config.ts) add:

import type { PlaywrightTestConfig } from '@playwright/test';

const config: PlaywrightTestConfig = {
  reporter: '@deploysentinel/playwright',
  use: {
    /* Make sure this is not 'off' so debugger can upload trace info */
    trace: 'on',
  },
};
export default config;

Add API Key

Lastly, export your API key to the OS environment variable DEPLOYSENTINEL_API_KEY. You can grab your API key by logging into/signing up for DeploySentinel and visiting your team page: https://deploysentinel.com/team.

DEPLOYSENTINEL_API_KEY=YOUR_API_KEY

Debugging

To display internal debug logs, set the environment variable DEPLOYSENTINEL_LOG_VERBOSE to 1, yes, or true.

DEPLOYSENTINEL_LOG_VERBOSE=1 ('1', 'yes' or 'true')

Run Playwright with an API Key

DEPLOYSENTINEL_API_KEY=xxx npx playwright test

Keywords

FAQs

Package last updated on 18 Apr 2023

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