block-images example: use reuters.com (#747)

Due to https://github.com/GoogleChrome/puppeteer/issues/746. The screenshot news.google.com isn't "full page", so that may be confusing to folks.
This commit is contained in:
Eric Bidelman 2017-09-11 10:16:57 -07:00 committed by Andrey Lushnikov
parent c4a3d44221
commit 30541cc087

View File

@ -29,7 +29,7 @@ page.on('request', request => {
else
request.continue();
});
await page.goto('https://news.google.com/news');
await page.goto('https://www.reuters.com/');
await page.screenshot({path: 'news.png', fullPage: true});
browser.close();