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

chromascope

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chromascope

Visually compare the same URL or DOM element in different browsers, from the safety of the command line.

  • 1.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Chromascope

chromascope_21x9

npm GitHub Workflow Status (with branch)

Chromascope is a tool for visualizing the diff of a given URL between chromium, webkit, and firefox. It uses Playwright to capture the screenshots and pixelmatch to compare them.

Usage

Can be installed globally with pnpm|npm|yarn:

pnpm add -g chromascope
npm i -g chromascope
yarn global add chromascope

or run it directly with npx:

npx chromascope <command> [options]

Commands

$ chromascope --help
chromascope/x.x.x

Usage:
  $ chromascope <command> [options]

Commands:
  diff <url>  Diff the URL in chromium, firefox, and webkit. Using chromium as the base.

For more info, run any command with the `--help` flag:
  $ chromascope diff --help

Options:
  -h, --help     Display this message
  -v, --version  Display version number
Diff
$ chromascope diff --help
chromascope/x.x.x

Usage:
  $ chromascope diff <url>

Options:
  -e, --element <selector>     Diff only the element with the given selector
  -f, --full-page              Take a full page screenshot
  -v, --verbose                Show more output
  -c, --cookie <cookie>        Add one or more cookies to the context. Format: key=value;key2=value2
  -s, --save-diff              Save generated diff as png
  -t, --threshold <threshold>  Set the threshold for the diff (default: 0.2)
  -f, --folder <folder>        Set the base folder for chromascope runs (default: chromascope-runs)
  -h, --help                   Display this message

Keywords

FAQs

Package last updated on 07 Oct 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