增强浏览器启动选项:新增隐身模式支持,调整无头模式和窗口尺寸的配置,优化命令按钮的宽度设置

This commit is contained in:
fofolee
2025-01-23 09:32:37 +08:00
parent 60db7be873
commit 4805cf6716
2 changed files with 31 additions and 8 deletions

View File

@@ -55,12 +55,17 @@ export const browserCommands = {
useSingleUserDataDir: {
label: "使用独立用户数据目录",
component: "CheckButton",
width: 6,
width: 4,
},
headless: {
label: "启用无头模式",
label: "无头模式",
component: "CheckButton",
width: 6,
width: 4,
},
incognito: {
label: "隐身模式",
component: "CheckButton",
width: 4,
},
windowSize: {
label: "窗口尺寸",
@@ -97,6 +102,7 @@ export const browserCommands = {
browserType: "msedge",
useSingleUserDataDir: true,
headless: false,
incognito: false,
},
},
],