Giter Site home page Giter Site logo

quilted's Introduction

quilted logo

quilted

Build Status Coverage Status npm

A css/js coverage tool for websites built using Puppeteer.

Quilted Cli

Installation

With npm:

npm install --save quilted

With yarn:

yarn add quilted

Usage

CLI

quilted <url> [options]

Module

import quilted from 'quilted';

quilted('https://example.com').then(coverage => {
  // ...
});

CLI

$ quilted --help

Usage: quilted <url> [options]

Basic options:
  --no-css      disables css code coverage                             [boolean]
  --no-js       disables js code coverage                              [boolean]
  --origin, -o  only cover same-origin assets                          [boolean]

Puppeteer options:
  --timeout, -t           maximum number of milliseconds to wait for the browser
                          to start                                      [number]
  --viewportWidth, --vw   sets viewport width for page render           [number]
  --viewportHeight, --vh  sets viewport height for page render          [number]
  --viewport, -V          sets viewport for page render i.e. 800x600    [string]
  --userAgent, --ua       sets the user agent for the request           [string]
  --headers, -H           sets headers for the page request
                          example: $0 <url> -H "X-Header: 123"           [array]

Options:
  --version, -v  Show version number                                   [boolean]
  --help         Show help                                             [boolean]

Module Options

Option Description Default
js Run js coverage. true
css Run css coverage. true
sameOrigin Only cover requests from the same origin false

Puppeteer Supported Options

Option Description Default
args Chrome command line flags null
timeout Maximum number of milliseconds to wait for the browser to start 30000
cookies Set cookies for the page request. null
headers Set headers for the page request. null
userAgent Sets the user agent for the page request. Default Chrome Headless User Agent String
viewport Sets the viewport size for the page request. 800x600

License

MIT

quilted's People

Contributors

greenkeeper[bot] avatar scurker avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

quilted's Issues

An in-range update of pretty-bytes is breaking the build ๐Ÿšจ

The dependency pretty-bytes was updated from 5.1.0 to 5.2.0.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

pretty-bytes is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).
  • โœ… coverage/coveralls: First build on greenkeeper/pretty-bytes-5.2.0 at 85.802% (Details).

Release Notes for v5.2.0

v5.1.0...v5.2.0

Commits

The new version differs by 2 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of chalk is breaking the build ๐Ÿšจ

The dependency chalk was updated from 2.4.1 to 2.4.2.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

chalk is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v2.4.2

This release is done from the v2-release branch, as master branch targets the work-in-progress v3 release.

Commits

The new version differs by 2 commits.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of eslint is breaking the build ๐Ÿšจ

The devDependency eslint was updated from 5.12.0 to 5.12.1.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v5.12.1
  • eb5c401 Chore: use meta.messages in some rules (2/4) (refs #9870) (#10773) (่–›ๅฎš่ฐ”็š„็Œซ)
  • aa56247 Fix: avoid loading core rules dynamically from FS in Linter (#11278) (Peter Metz)
  • 04450bb Docs: clarify process for adding committers (#11272) (Kai Cataldo)
  • 3ffcf26 Docs: add @g-plane as committer (#11277) (Kai Cataldo)
  • c403445 Fix: warn constant on RHS of || in no-constant-condition (fixes #11181) (#11253) (Merlin Mason)
  • 9194f45 Fix: Manage severity of 1 with TAP reporter (fixes #11110) (#11221) (Gabriel Cousin)
  • 000f495 Docs: fix example for sort-imports ignoreDeclarationSort (#11242) (Remco Haszing)
  • 7c0bf2c Docs: Add npx usage to Getting Started guide (#11249) (eyal0803)
  • da9174e Docs: fixes typo peerDepencies (#11252) (Christian Kรผhl)
  • 9c31625 Docs: Improve custom formatter docs (#11258) (Nicholas C. Zakas)
Commits

The new version differs by 12 commits.

  • faf3c4e 5.12.1
  • 1010c98 Build: changelog update for 5.12.1
  • eb5c401 Chore: use meta.messages in some rules (2/4) (refs #9870) (#10773)
  • aa56247 Fix: avoid loading core rules dynamically from FS in Linter (#11278)
  • 04450bb Docs: clarify process for adding committers (#11272)
  • 3ffcf26 Docs: add @g-plane as committer (#11277)
  • c403445 Fix: warn constant on RHS of || in no-constant-condition (fixes #11181) (#11253)
  • 9194f45 Fix: Manage severity of 1 with TAP reporter (fixes #11110) (#11221)
  • 000f495 Docs: fix example for sort-imports ignoreDeclarationSort (#11242)
  • 7c0bf2c Docs: Add npx usage to Getting Started guide (#11249)
  • da9174e Docs: fixes typo peerDepencies (#11252)
  • 9c31625 Docs: Improve custom formatter docs (#11258)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of puppeteer is breaking the build ๐Ÿšจ

The dependency puppeteer was updated from 1.8.0 to 1.9.0.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

puppeteer is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v1.9.0

Big Changes

API Changes

Added:

Bug Fixes

  • #2374 - feat(browser): Run puppeteer in browser (POC)
  • #2377 - Certificates error using puppeteer
  • #2721 - page.goto doesn't clear internal timeout when the browser is closed
  • #2888 - Cannot read property '_bodyLoadedPromiseFulfill' of null
  • #2918 - Support waitForNavigation for frames
  • #3104 - Full page screenshot fails when defaultViewport is null
  • #3109 - Is it clear what <...Type> means in the docs?
  • #3204 - docs: mention require('puppeteer-core')
  • #3221 - As for puppeteer to emulate the movement of the mouse while pressing?
  • #3232 - Add documentation and examples for iframe API.
  • #3234 - Black render with omitBackground: true
  • #3340 - Does --filter=SomeTest do anything when running npm run unit

Raw Notes

4abf7d1 - docs(bundling): add docs about bundling for web (#3348)
8becb31 - test: add failing test for page.select (#3346)
5ebfe1a - docs(contributing): remove the --filter note (#3342)
cd54ce3 - fix(types): upgrade node types to 8.10.34 (#3341)
c9657f8 - docs(api.md): minor grammar and consistency fixes (#3320)
c237947 - chore(types): upgrade to TypeScript 3.1.1 (#3331)
842fee8 - fix(page): full page screenshot when defaultViewport is null (#3306)
e75e36b - feat(chromium): roll Chromium to r594312 (#3310)
85aca8e - chore(testserver): prepare test server (#3294)
9c89090 - chore(testrunner): fix readme description (#3293)
12e317c - chore: add .npmignore for testrunner (#3290)
5b3ddf5 - chore(testrunner): bump version to v0.5.0-post (#3291)
907d9be - chore: prepare testrunner to be published to npm (#3289)
4e48dfc - feat(launcher): add experimental "transport" option to pptr.connect (#3265)
5acf953 - feat(frame): introduce Frame.goto and Frame.waitForNavigation (#3276)
ad49f79 - docs(api.md): Fix description of SecurityDetails class (#3277)
0b9d8a6 - feat: async stacks for all "async" public methods (#3262)
9223bca - refactor: move navigation management to FrameManager (#3266)
27477a1 - docs(api.md): Fix typo (#3273)
b97bddf - refactor: unify response tracking in page.goto and waitForNavigation (#3258)
a1a211d - chore: nicer stack highlight (#3259)
a4abb4a - feat(chromium): Roll Chromium to r591618 (#3263)
7f00860 - fix(browserfetcher): Fix windows fetching (#3256)
f5d388a - docs(api.md): add example for Mouse class (#3244)
d547b9d - fix(browser): browser closing/disconnecting should abort navigations (#3245)
f0beabd - chore: drop DEBUG for public API calls (#3246)
d929f7e - fix: set JPG background to white when omitBackground option is used (#3240)
6ec3ce6 - chore: make sure Puppeteer bundling works (#3239)
f49687f - docs(api.md): add frame example (#3237)
a582acd - feat(chromium): roll Chromium to r590951 (#3236)
7ec0801 - fix: expect Network.responseReceived event is never dispatched (#3233)
c644a3b - test: make sure zero-width screenshots don't hang (#3214)
9c4b6d0 - refactor: use browser-compliant interface of 'ws' (#3218)
56b3bd8 - docs(readme.md): Added yarn guide also to puppeteer-core (#3227)
6581ee9 - docs: add ndb as a debugging tip (#3195)
1b2c811 - refactor: move Connection to use ConnectionTransport (#3217)
c967aeb - docs(api.md): add an include statement for puppeteer-core (#3213)
c5511ec - docs(api.md): Clarify how to call page.setCookie (#3215)
78e9d5c - chore: bump version to v1.8.0-post (#3212)

Commits

The new version differs by 40 commits.

  • f6c05e6 chore: mark version v1.9.0 (#3350)
  • 4abf7d1 docs(bundling): add docs about bundling for web (#3348)
  • 8becb31 test: add failing test for page.select (#3346)
  • 5ebfe1a docs(contributing): remove the --filter note (#3342)
  • cd54ce3 fix(types): upgrade node types to 8.10.34 (#3341)
  • c9657f8 docs(api.md): minor grammar and consistency fixes (#3320)
  • c237947 chore(types): upgrade to TypeScript 3.1.1 (#3331)
  • 842fee8 fix(page): full page screenshot when defaultViewport is null (#3306)
  • e75e36b feat(chromium): roll Chromium to r594312 (#3310)
  • 85aca8e chore(testserver): prepare test server (#3294)
  • 9c89090 chore(testrunner): fix readme description (#3293)
  • 12e317c chore: add .npmignore for testrunner (#3290)
  • 5b3ddf5 chore(testrunner): bump version to v0.5.0-post (#3291)
  • 907d9be chore: prepare testrunner to be published to npm (#3289)
  • 4e48dfc feat(launcher): add experimental "transport" option to pptr.connect (#3265)

There are 40 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of @scurker/eslint-config is breaking the build ๐Ÿšจ

The devDependency @scurker/eslint-config was updated from 1.1.4 to 1.1.5.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@scurker/eslint-config is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 1 commits.

  • f5b7bb2 allow destructuring of snake case

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

An in-range update of npm-run-all is breaking the build ๐Ÿšจ

The devDependency npm-run-all was updated from 4.1.3 to 4.1.4.

๐Ÿšจ View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

npm-run-all is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • โŒ continuous-integration/travis-ci/push: The Travis CI build failed (Details).
  • โœ… coverage/coveralls: First build on greenkeeper/npm-run-all-4.1.4 at 85.802% (Details).

Commits

The new version differs by 3 commits.

  • a79fbac ๐Ÿ”– 4.1.4
  • d97929c remove test in version script temporary
  • 57d72eb ๐Ÿ”ฅ remove ps-tree

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those donโ€™t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot ๐ŸŒด

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.