Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@testim/chrome-har

testimio235MIT0.11.3TypeScript support: included

Create HAR files from Chrome Debugging Protocol data.

chrome, har, webperf

readme

changelog

CHANGELOG

version 0.11.3 2019-10-14

  • Better parsing of the _initiator field fixing an error for some HARs, thank you Aleksandr Semyonov for the PR #44.

version 0.11.2 2019-09-21

  • Extra check that we really got a response in the trace #54

version 0.11.1 2019-09-14

  • Catch if a request misses the response/timings #53.

version 0.11.0 2019-07-23

  • Include Chrome request id as _requestId to make it simpler in Browsertime to add response bodies #50.

version 0.10.0 2019-01-09

version 0.9.1 2019-01-03

  • And also use the URL fragment so we can keep that #40.

version 0.9.0 2019-01-03

  • Keep hash (#) in URLs. We used to remove them to follow the same path as Chrome but Firefox do not and it breaks later in our tool chain to change the URL #39.

version 0.8.1 2019-01-03

  • Tech: Simplify logic for skipping pages.

version 0.8.0 2019-01-01

  • Skip support for multi page navigation by script (this makes things much easier in Browsertime) #38.

version 0.7.1 2018-12-13

  • Pickup requests/responses that happens before navigation and block some sctript navigations #36.

version 0.7.0 2018-11-23

  • Catch requestWillBeSent that happens before navigation #34. This fixes when you click on a link in Chrome that generates a new navigation.

version 0.6.0 2018-11-23

  • Use dayjs instead of moment #33.
  • Support for having a HAR with multiple pages from Browsertime #30.
  • Internal: Split the code to different files to make it easier to read the code #32.

version 0.5.0 2018-10-12

  • Catch Chrome navigating within page #28.

version 0.4.1 2018-06-01

version 0.4.0 2018-05-29

  • Including cached entries in the HAR now generates a HAR that validates against the HAR schema.
  • Include responses that were pushed with HTTP2. Thanks to Martino Trevisan! #21

version 0.3.2 2018-04-07

  • Fixes for situations that could result in incorrect HARs (missing startedDateTime or missing first entry).
  • Format IPv6 addresses so HARs validate with har-validator

version 0.3.1 2018-03-29

  • Also act on Page.frameScheduledNavigation (needed for Chrome 66 and coming Browsertime 3.0)

version 0.3.0 2018-03-15

  • Add more information about request initiator to HAR. Thanks to David Dadon! #9

version 0.2.3 2017-10-15

  • Prevent creating HAR files with empty pages (i.e. pages with no entries).

version 0.2.2 2017-06-30

  • Be extra careful when parsing JSON see #4

version 0.2.1 2017-05-31

  • Remove unused files from npm distribution.

version 0.2.0 2017-05-31

  • Add "serverIPAddress" field to entries.
  • Set bodySize for requests correctly.
  • Set bodySize and compression for responses correctly.
  • Add _transferSize field for responses, just like Chrome does.

version 0.1.0 2017-03-05

  • Initial release