Skip to content

Keep every repeated --scriptInput.visualElements - #4919

Merged
soulgalore merged 1 commit into
mainfrom
repeat-visual-elements
Oct 25, 2026
Merged

soulgalore merged 1 commit into
mainfrom
repeat-visual-elements

Conversation

@soulgalore

Copy link
Copy Markdown
Member

Repeating --scriptInput.visualElements to measure several elements only kept the last one. yargs mixed the option up with the boolean --visualElements, which has the same last name segment, and treated the repeats as a boolean flag set twice. Browsertime already accepts a list here, and its help tells users to repeat the option.

Fixes #4458

Assisted-by: Claude Opus 5.5 noreply@anthropic.com

Repeating --scriptInput.visualElements to measure several elements only kept the last one. yargs mixed the option up with the boolean --visualElements, which has the same last name segment, and treated the repeats as a boolean flag set twice. Browsertime already accepts a list here, and its help tells users to repeat the option.

Fixes #4458

Assisted-by: Claude Opus 5.5 noreply@anthropic.com
@soulgalore
soulgalore merged commit 18a922c into main Oct 25, 2026
20 checks passed
@soulgalore
soulgalore deleted the repeat-visual-elements branch October 25, 2026 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pass multiple visualElements

1 participant