0.0.2 • Published 6 years ago

computedstyle-snapshot v0.0.2

Weekly downloads
4
License
ISC
Repository
github
Last release
6 years ago

computedstyle-snapshot

Read the computed style output of any selector on any page

This tool visits a url, grabs a selector and dumps its computedStyle into both a json and css file.

Usage: `computedstyle-snapshot --o output.js --u https://www.google.com --s .tsf-p

Flags: --o: output - name of output js file, this will also write a css file of the same name --u: url - url the headless browser will visit --s: selector - (uses document.querySelector)