My question is simple but I don't understand if it's possible and, in this case, how it's possible.
I would like to use the puppeteer
library in an Angular application using the npm package, but I don't understand how I can use it.
For example I just want to make this script :
const puppeteer = require('puppeteer');
(async () => {
const browser = await puppeteer.launch();
const page = await browser.newPage();
await page.goto('https://example.com');
await page.screenshot({path: 'example.png'});
await browser.close();
})();
In an Angular component, can somebody help me (it will be able me to understanding a lot of thing).
Thanks in advance, sorry for my bad English, I'm French.
E/launcher - session not created: This version of ChromeDriver only supports Chrome version 74
– Gaudery