-
Notifications
You must be signed in to change notification settings - Fork 1
Download and Run
- The binaries for in-memory recrod&replay mode can be downloaded from here
- The binaries for offloading recrod&replay mode can be downloaded from here
- Download WebCapsule's
devtools_client
scripts
These instructions have been tested on Ubuntu 14.04.3 LTS
-
Start Chromium as follows:
./chrome --safebrowsing-disable-auto-update --remote-debugging-port=54321 "URL-TO-VISIT"
-
Start WebCapsule's
devtools_client
and connect to Chromepython devtools_client.py http://localhost:54321/json
-
On the
devtools_client
console, type the following commands to get started:-
For in-memory record&replay mode:
- Load a website (e.g., wikipedia.org)
- Choose the tab you want to record (e.g., type
0
) - Start recording by typing
StartRecording
- Do some browsing (e.g., navigate through different pages on wikipedia.org)
- When you are ready to stop recording, type
StopRecording
- To start replaying the trace that you just recorded, type
StartReplay
-
For the offloading record&replay mode:
-
Follow steps
a-e
as for the in-memory mode. -
Type
DumpRecording FILENAME
, whereFILENAME
is the name of your browsing trace file -
Close the browser (alternatively, type
Exit
in thedevtools_client
command line) -
In the terminal, run the following command (
TIMESTAMP
should be replaced with the timestamp of the latest offloaded data file):python offloading_assembler.py offloaded-data-TIMESTAMP.txt > website.dump
-
Start the browser and
devtools_client
again:./chrome --safebrowsing-disable-auto-update --remote-debugging-port=54321 "about:blank" >& logs.tmp
python devtools_client.py http://localhost:54321/json
-
In the
devtools_client
, choose tab 0 by typing0
-
Load the offloaded browsing trace:
LoadRecording website.dump
-
Start replaying the trace:
StartReplay
-
-