fix(browser-cli): rename --profile to --browser-profile to avoid conflict with global --profile flag

This commit is contained in:
James Groat
2026-01-06 09:54:31 -07:00
committed by Peter Steinberger
parent 2dd6b3aeb2
commit 40758b16a9
9 changed files with 127 additions and 41 deletions

View File

@@ -20,7 +20,7 @@ export function registerBrowserActionObserveCommands(
.action(async (opts, cmd) => {
const parent = parentOpts(cmd);
const baseUrl = resolveBrowserControlUrl(parent?.url);
const profile = parent?.profile;
const profile = parent?.browserProfile;
try {
const result = await browserConsoleMessages(baseUrl, {
level: opts.level?.trim() || undefined,
@@ -45,7 +45,7 @@ export function registerBrowserActionObserveCommands(
.action(async (opts, cmd) => {
const parent = parentOpts(cmd);
const baseUrl = resolveBrowserControlUrl(parent?.url);
const profile = parent?.profile;
const profile = parent?.browserProfile;
try {
const result = await browserPdfSave(baseUrl, {
targetId: opts.targetId?.trim() || undefined,