You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Playwright browsers are automatically downloaded on first use. No manual setup required! The download happens once per system and is shared across all applications.
1073
+
Playwright browsers are automatically downloaded on first use. No manual setup required. The download is cached per-user (default locations below).
1074
1074
1075
1075
#### How Auto-Download Works
1076
1076
When you first use browser testing, Playwright automatically downloads required components:
@@ -1093,6 +1093,13 @@ When you first use browser testing, Playwright automatically downloads required
1093
1093
- Subsequent runs use cached components - no re-download needed
1094
1094
- You can manually ensure browsers are installed using `HtmlBrowser.EnsureInstalledAsync()`
1095
1095
1096
+
#### Linux: Avoiding sudo prompts
1097
+
On Linux, Playwright can also install OS-level dependencies when invoked with `--with-deps` (this typically requires root/sudo).
1098
+
1099
+
By default, HtmlTinkerX only uses `--with-deps` when running as root to avoid unexpected sudo prompts during normal test execution. You can override this behavior by setting:
1100
+
-`HTMLTINKERX_PLAYWRIGHT_WITH_DEPS=1` to force `--with-deps`
1101
+
-`HTMLTINKERX_PLAYWRIGHT_WITH_DEPS=0` to never use `--with-deps`
0 commit comments