Skip to content

Crawlee—A web scraping and browser automation library for Node.js to build reliable crawlers. In JavaScript and TypeScript. Extract data for AI, LLMs, RAG, or GPTs. Download HTML, PDF, JPG, PNG, and other files from websites. Works with Puppeteer, Playwright, Cheerio, JSDOM, and raw HTTP. Both headful and headless mode. With proxy rotation.

Added extraChromeArguments option to Apifier.browse()

Jan Curn7a4117e69f51
diff --git a/src/browser.js b/src/browser.js
index c439fec5b..b04970cc8 100644
--- a/src/browser.js
+++ b/src/browser.js
@@ -71,6 +71,9 @@ export class Browser {
if (this.options.userAgent) {
this.chromeOptions.addArguments(`--user-agent=${this.options.userAgent}`);
}
+ if (this.options.extraChromeArguments) {
+ this.chromeOptions.addArguments(this.options.extraChromeArguments);
+ }
this.builder = new Builder();