Capítulo 145 de 988

Chapter 145: openBrowser()

Core Idea

_Available since v3. 0 - Part of the @remotion/renderer package.

Key Concepts

  • Arguments
  • browser
  • options?
  • shouldDumpIo?
  • logLevel?<AvailableFrom v="4.0.189"/>
  • browserExecutable?
  • chromiumOptions?
  • forceDeviceScaleFactor?

Code Examples

const openBrowser: (
  browser: Browser,
  options: {
    shouldDumpIo?: boolean;
    browserExecutable?: string | null;
    chromiumOptions?: ChromiumOptions;
  },
) => Promise<puppeteer.Browser>;
  • What it demonstrates: Usage pattern for openBrowser() from the official docs.

Key Takeaways

  1. Understand arguments when working with openBrowser().
  2. Understand browser when working with openBrowser().
  3. Understand options? when working with openBrowser().
  4. Understand shoulddumpio? when working with openBrowser().
  5. Understand loglevel?<availablefrom v="4.0.189"/> when working with openBrowser().

Connects To

  • Chromium Flags: related page in the Rendering & SSR section.
  • Compare ssr: related page in the Rendering & SSR section.
  • Dataset Render: related page in the Rendering & SSR section.