Skip to content

Commit

Permalink
Merge f5e198a into f21b9ef
Browse files Browse the repository at this point in the history
  • Loading branch information
ebidel committed Aug 28, 2018
2 parents f21b9ef + f5e198a commit 18629bb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/puppeteer.md
Expand Up @@ -16,8 +16,11 @@ const {URL} = require('url');
(async() => {
const url = 'https://www.chromestatus.com/features';

// Use Puppeteer to launch Chrome. appMode launches headful chrome and doesn't size the viewport.
const browser = await puppeteer.launch({appMode: true});
// Use Puppeteer to launch headful Chrome and don't use its default 800x600 viewport.
const browser = await puppeteer.launch({
headless: false,
defaultViewport: null,
});

// Wait for Lighthouse to open url, then customize network conditions.
// Note: this will re-establish these conditions when LH reloads the page. Think that's ok....
Expand Down

0 comments on commit 18629bb

Please sign in to comment.