[PR #1583] [MERGED] playwright: support PLAYWRIGHT_BROWSERS_PATH environment variable #1453

Closed
opened 2026-03-01 14:49:51 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/1583
Author: @andrew-d
Created: 11/3/2024
Status: Merged
Merged: 11/3/2024
Merged by: @pirate

Base: devHead: andrew/playwright-browsers-path


📝 Commits (2)

  • 49c5209 playwright: support PLAYWRIGHT_BROWSERS_PATH environment variable
  • 50a85ec Update archivebox/plugins_pkg/playwright/binproviders.py

📊 Changes

1 file changed (+18 additions, -5 deletions)

View changed files

📝 archivebox/plugins_pkg/playwright/binproviders.py (+18 -5)

📄 Description

Summary

This environment variable is used by Playwright to configure where to install browsers. If specified, the given directory is used instead of the OS-specific cache folder. For compatibility with existing Playwright installations, and better control over where these binaries are installed, check the same environment variable in PlaywrightBinProvider.

See the Playwright docs for more details on how this works.

Related issues

#51

Changes these areas

  • Bugfixes
  • Feature behavior
  • Command line interface
  • Configuration options
  • Internal architecture
  • Snapshot data layout on disk

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ArchiveBox/ArchiveBox/pull/1583 **Author:** [@andrew-d](https://github.com/andrew-d) **Created:** 11/3/2024 **Status:** ✅ Merged **Merged:** 11/3/2024 **Merged by:** [@pirate](https://github.com/pirate) **Base:** `dev` ← **Head:** `andrew/playwright-browsers-path` --- ### 📝 Commits (2) - [`49c5209`](https://github.com/ArchiveBox/ArchiveBox/commit/49c520914ceefc3ce798e9cf67e6bc07edc1880b) playwright: support PLAYWRIGHT_BROWSERS_PATH environment variable - [`50a85ec`](https://github.com/ArchiveBox/ArchiveBox/commit/50a85ec97bbfe7ca039795faa1d91081e872fcf9) Update archivebox/plugins_pkg/playwright/binproviders.py ### 📊 Changes **1 file changed** (+18 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `archivebox/plugins_pkg/playwright/binproviders.py` (+18 -5) </details> ### 📄 Description # Summary This environment variable is used by Playwright to configure where to install browsers. If specified, the given directory is used instead of the OS-specific cache folder. For compatibility with existing Playwright installations, and better control over where these binaries are installed, check the same environment variable in `PlaywrightBinProvider`. See the [Playwright docs](https://playwright.dev/docs/browsers#managing-browser-binaries) for more details on how this works. # Related issues #51 # Changes these areas - [ ] Bugfixes - [ ] Feature behavior - [ ] Command line interface - [x] Configuration options - [ ] Internal architecture - [ ] Snapshot data layout on disk --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 14:49:51 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#1453
No description provided.