block-images example: switch from bbc to news.google.com (#708)

This commit is contained in:
Eric Bidelman 2017-09-07 12:35:52 -07:00 committed by JoelEinbinder
parent d2d951d74a
commit 272fb4d993

View File

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