mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
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:
parent
c4a3d44221
commit
30541cc087
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user