Skip to content

[BUG] PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT env variable is not a connection timeout but also download timeout #28619

@tomaspetrusek-ext43791

Description

@tomaspetrusek-ext43791

System info

  • Playwright Version: 1.40.1
  • Operating System: macOS 13.5
  • Browser: [All, Chromium, Firefox, WebKit]
  • Other info:

Source code

For npx playwright install the PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT env variable is not a connection timeout but also a download timeout.

Steps

  • PLAYWRIGHT_DOWNLOAD_CONNECTION_TIMEOUT=100 npx playwright install chromium
  • see how it fails to install due to short time limit at ~8%... in case it would be successful, decrease the time.

Expected

if connection is established, the timeout should be ignored ... and wait for the 100MB download.

Actual

the connection is reset during download

Possible solutions (suggested)

  • fix behaviour
  • fix naming

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions