docs: add changelog for screenshot path option
Bug fixes: - Add browser.screenshotDir to settings-schema.ts (lost during rebase conflict) - Fix stale expandHome comment to expandPath in settings-selector.ts - Final screenshotDir description: Directory to save screenshots with ~ support
This commit is contained in:
@@ -2,6 +2,10 @@
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
|
||||
- Added `browser.screenshotDir` setting to configure screenshot save directory with path expansion
|
||||
|
||||
## [13.13.2] - 2026-03-18
|
||||
|
||||
### Added
|
||||
|
||||
@@ -1155,6 +1155,14 @@ export const SETTINGS_SCHEMA = {
|
||||
description: "Launch browser in headless mode (disable to show browser UI)",
|
||||
},
|
||||
},
|
||||
"browser.screenshotDir": {
|
||||
type: "string",
|
||||
ui: {
|
||||
tab: "tools",
|
||||
label: "Screenshot directory",
|
||||
description: "Directory to save screenshots. If unset, screenshots go to a temp file. Supports ~. Examples: ~/Downloads, ~/Desktop, /sdcard/Download (Android)",
|
||||
},
|
||||
},
|
||||
|
||||
// Tool execution
|
||||
"tools.intentTracing": {
|
||||
|
||||
@@ -463,7 +463,7 @@ export class SettingsSelectorComponent extends Container {
|
||||
currentValue,
|
||||
value => {
|
||||
// Empty string clears the setting; undefined-typed string settings
|
||||
// store "" which the browser.ts expandHome ignores (no-op fallback).
|
||||
// store "" which the browser.ts expandPath ignores (no-op fallback).
|
||||
this.#setSettingValue(def.path, value);
|
||||
this.callbacks.onChange(def.path, value);
|
||||
wrappedDone(value);
|
||||
|
||||
Reference in New Issue
Block a user