Skip to content

Commit

Permalink
add doc for testing site with authentication (#1906)
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
denar90 authored and paulirish committed Mar 27, 2017
1 parent bd06f76 commit 909a463
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@ NOTE: specifying an output path with multiple formats ignores your specified ext
* `./<HOST>_<DATE>.report.html`
* `./<HOST>_<DATE>.artifacts.log`

### Testing on a site with authentication

- `chrome-debug`
- open and login to your site
- `lighthouse http://mysite.com`

## Testing on a mobile device

Lighthouse can run against a real mobile device. You can follow the [Remote Debugging on Android (Legacy Workflow)](https://developer.chrome.com/devtools/docs/remote-debugging-legacy) up through step 3.3, but the TL;DR is install & run adb, enable USB debugging, then port forward 9222 from the device to the machine with Lighthouse.
Expand Down

0 comments on commit 909a463

Please sign in to comment.