How can I install puppeteer for firefox and include it in the code so I can use it?Ĭode not working in chrome because of data url error const url = await page.evaluate(async () => )Ĭonst chrome = await puppeteerChrome. The problem is "npm install puppeteer-firefox" is not working to install puppeteer for firefox. Learn how to set up and run automated tests with code. We've also recently introduced support for Playwright, if you're interested in that head over to playwright-extra. When you install Puppeteer, it downloads a recent version of Chromium (170MB Mac, 282MB Linux, 280MB Win) that is guaranteed to work with the API. Use the download method in your next Puppeteer project with LambdaTest Automation Testing Advisor. :-) For the main documentation, please head over to the puppeteer-extra package. I am trying to open a url and I am getting a data URL error in chrome console so I am moving to firefox console to get around the no data urls opening in the chrome console issue. puppeteer-extra This is the monorepo for puppeteer-extra, a modular plugin framework for puppeteer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |