block-images example: switch from bbc to news.google.com (#708)
This commit is contained in:
parent
d2d951d74a
commit
272fb4d993
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user