Skip to content

Puppeteer fails to launch chromium without internet access #2800

@AshIzat

Description

@AshIzat

Description

Puppeteer makes an external web request to get the build id of chromium. this fails in an enviroment where the requested url isn't accessible.

Complete minimal example reproducing the issue

var options = new LaunchOptions { ExecutablePath = executablePath, Browser = SupportedBrowser.Chromium };
var browser = await Puppeteer.LaunchAsync(options); // throws if unable to access internet

Expected behavior:

Since the code only uses this build id to get the executable path, setting the path in the options should should skip this request and allow puppeteer to work with chromium without external internet access. Chrome does not require the same remote web request.

Actual behavior:

Puppeteer tries to access the remote url and throws an exception

Versions

  • Pupeteer version: master
  • dotnet version: dotnet 8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy