Skip to content

Commit

Permalink
docs(configuration): Add desktop docs (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
amannn committed Aug 28, 2020
1 parent 90c8635 commit a5220a0
Showing 1 changed file with 22 additions and 1 deletion.
23 changes: 22 additions & 1 deletion docs/configuration.md
Expand Up @@ -354,7 +354,7 @@ The maximum amount of time in milliseconds to wait for `startServerCommand` to p

#### `settings`

The [Lighthouse settings object](https://github.com/GoogleChrome/lighthouse/blob/master/docs/configuration.md#settings-objectundefined) to pass along to Lighthouse. This can be used to change configuration of it Lighthouse itself.
The [Lighthouse settings object](https://github.com/GoogleChrome/lighthouse/blob/master/docs/configuration.md#settings-objectundefined) to pass along to Lighthouse. This can be used to change configuration of Lighthouse itself.

**Example:**

Expand Down Expand Up @@ -1093,6 +1093,27 @@ If you're a Lighthouse pro, assert the recommended preset, increase the number o
}
```
### Desktop emulation
```jsonc
{
"ci": {
"collect": {
"settings": {
// Set the screen size
"emulatedFormFactor": "desktop",
// Define CPU and network characteristics
"throttling": {
"rttMs": 40,
"throughputKbps": 10240,
"cpuSlowdownMultiplier": 1
}
}
}
}
}
```
### Custom Chrome Flags
```jsonc
Expand Down

0 comments on commit a5220a0

Please sign in to comment.