From 297835a9b2c1673ec62932271160bc036d95832c Mon Sep 17 00:00:00 2001 From: Philipp Tanlak Date: Mon, 24 Nov 2025 20:58:57 +0100 Subject: public -> docs --- public/docs/configuration/browser-mode/index.html | 612 ---------------------- 1 file changed, 612 deletions(-) delete mode 100644 public/docs/configuration/browser-mode/index.html (limited to 'public/docs/configuration/browser-mode/index.html') diff --git a/public/docs/configuration/browser-mode/index.html b/public/docs/configuration/browser-mode/index.html deleted file mode 100644 index 123458e..0000000 --- a/public/docs/configuration/browser-mode/index.html +++ /dev/null @@ -1,612 +0,0 @@ - - - - - - - - - - - - - - - Browser Mode – Flyscrape - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - -
-
-
- -
Browser Mode
-
- -
-

Browser Mode

-

The Browser Mode controls the interaction with a headless Chromium browser. Enabling the browser mode allows flyscrape to download a Chromium browser once and use it to render JavaScript-heavy pages.

-

Browser Mode -

To enable Browser Mode, set the browser option to true in your configuration. This allows flyscrape to use a headless Chromium browser for rendering JavaScript during the scraping process.

-
Configuration
export const config = {
-    browser: true,
-};
- -
-
-

In the above example, Browser Mode is enabled, allowing flyscrape to render pages that rely on JavaScript execution.

-

Headless Option -

The headless option, when combined with Browser Mode, controls whether the Chromium browser should run in headless mode or not. Headless mode means the browser operates without a graphical user interface, which can be useful for background processes.

-
Configuration
export const config = {
-    browser: true,
-    headless: false,
-};
- -
-
-

In this example, the Chromium browser will run in non-headless mode. If you set headless to true, the browser will run without a visible GUI.

-
Configuration
export const config = {
-    browser: true,
-    headless: true,
-};
- -
-
-

In this example, the Chromium browser will run in headless mode, suitable for scenarios where graphical rendering is unnecessary.

- -
-
- - -
-
-
- - - - - - - - - - -- cgit v1.2.3