Skip to content

Extract HAR files using Chrome Debugging Protocol from chrome/chromium

Notifications You must be signed in to change notification settings

salvadormrf/python-chrome-har

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POC - Use as reference

Extract HAR files using Chrome

cd python-chrome-har/

# Create virtual environment and install deps
virtualenv env
source env/bin/activate
pip install -r requirements.txt

# Run Chrome or Chromium or Headless shell
/Applications/Chromium.app/Contents/MacOS/Chromium --remote-debugging-port=9222  --enable-benchmarking --enable-net-benchmarking

# Run HAR collector
python client.py

# Open file /tmp/test.har with http://www.softwareishard.com/har/viewer/
# Have fun

Reference Links

Headless Chromium

https://chromium.googlesource.com/chromium/src/+/master/headless/README.md
https://docs.google.com/document/d/11zIkKkLBocofGgoTeeyibB2TZ_k7nR78v7kNelCatUE/edit#
https://chromium.googlesource.com/chromium/src/+/master/third_party/WebKit/Source/core/inspector/browser_protocol.json
https://github.com/cyrus-and/chrome-har-capturer

About

Extract HAR files using Chrome Debugging Protocol from chrome/chromium

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages