Commit f73cffc4 authored by Stanley Shyiko's avatar Stanley Shyiko

Updated readme.md

parent e9eb0231
......@@ -2,6 +2,8 @@
A command-line tool for generating [HTTP Archive (HAR)](http://www.softwareishard.com/blog/har-12-spec/) (based on [Electron](http://electron.atom.io/)).
The data you get is identical to "Save All as HAR" from the Network pane of Developer Tools in Chromium.
## Installation
```sh
......@@ -11,10 +13,14 @@ npm install -g electron-har
## Usage
```sh
electron-har http://google.com > google_com.har
```
electron-har http://google.com # writes HAR to stdout
> To see a complete list of command line options try `electron-har --help`.
# in a headless environment (CI agent on Linux?) - xvfb-run will do just fine
DISPLAY=:1 xvfb-run electron-har http://google.com -o google_com.har
# to see a complete list of command line options
electron-har --help
```
## License
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment