Online Dev Tools์ถ์ฒ: Mozilla Hacks์กฐํ์ 9
Announcing Official Puppeteer Support for Firefox
By James Graham2024๋
8์ 8์ผ
**Announcing Official Puppeteer Support for Firefox**
pre {max-width: none !important; max-height: none !important;} Weโre pleased to announce that, as of version 23, the Puppeteer browser automation library now has first-class support for Firefox. This means that it’s now easy to write automation and perform end-to-end testing using Puppeteer, and run against both Chrome and Firefox. How to Use Puppeteer With Firefox To get started, simply set the product to “firefox” when starting Puppeteer: import puppeteer from "puppeteer"; const browser = await puppeteer.launch({ browser: "firefox" }); const page = await browser.newPage(); // ... await browser.close(); As with Chrome, Puppeteer is able to download and launch the latest stable version of Firefox, so running against either browser should offer the same developer experience that Puppeteer users have come to expect. Whilst the features offered by Puppeteer won’t be a surprise, bringing support to multiple browsers has been a significant undertaking...
---
**[devsupporter ํด์ค]**
์ด ๊ธฐ์ฌ๋ Mozilla Hacks์์ ์ ๊ณตํ๋ ์ต์ ๊ฐ๋ฐ ๋ํฅ์ ๋๋ค. ๊ด๋ จ ๋๊ตฌ๋ ๊ธฐ์ ์ ๋ํด ๋ ์์๋ณด์๋ ค๋ฉด ์๋ณธ ๋งํฌ๋ฅผ ์ฐธ๊ณ ํ์ธ์.
pre {max-width: none !important; max-height: none !important;} Weโre pleased to announce that, as of version 23, the Puppeteer browser automation library now has first-class support for Firefox. This means that it’s now easy to write automation and perform end-to-end testing using Puppeteer, and run against both Chrome and Firefox. How to Use Puppeteer With Firefox To get started, simply set the product to “firefox” when starting Puppeteer: import puppeteer from "puppeteer"; const browser = await puppeteer.launch({ browser: "firefox" }); const page = await browser.newPage(); // ... await browser.close(); As with Chrome, Puppeteer is able to download and launch the latest stable version of Firefox, so running against either browser should offer the same developer experience that Puppeteer users have come to expect. Whilst the features offered by Puppeteer won’t be a surprise, bringing support to multiple browsers has been a significant undertaking...
---
**[devsupporter ํด์ค]**
์ด ๊ธฐ์ฌ๋ Mozilla Hacks์์ ์ ๊ณตํ๋ ์ต์ ๊ฐ๋ฐ ๋ํฅ์ ๋๋ค. ๊ด๋ จ ๋๊ตฌ๋ ๊ธฐ์ ์ ๋ํด ๋ ์์๋ณด์๋ ค๋ฉด ์๋ณธ ๋งํฌ๋ฅผ ์ฐธ๊ณ ํ์ธ์.
