Skip to content

Commit

Permalink
headless docs: adjustments to pr #623
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Sep 2, 2016
1 parent 1b14da8 commit 364ba40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion API-and-internals.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ cd lighthouse && npm i && npm link

```sh
export DISPLAY=:1.5
TMP_PROFILE_DIR=$(mktemp -d -t lighthouse.XXXXXXXXXX)

# start up chromium inside xvfb
xvfb-run --server-args='-screen 0, 1024x768x16' chromium-browser --temp-profile --start-maximized --no-first-run --remote-debugging-port=9222 "about:blank"
xvfb-run --server-args='-screen 0, 1024x768x16' chromium-browser --user-data-dir=$TMP_PROFILE_DIR --start-maximized --no-first-run --remote-debugging-port=9222 "about:blank"

# kick off your lighthouse run, saving assets to verify for later
lighthouse http://github.com --save-assets
Expand Down

0 comments on commit 364ba40

Please sign in to comment.