Skip to content

Conversation

@rgarcia
Copy link
Contributor

@rgarcia rgarcia commented Sep 3, 2025

  • adds profile options to browsers create
  • adds profiles <create|get|delete|list|download> commands

TL;DR

Adds CLI commands to create and manage browser profiles, allowing browser sessions to be saved and reused.

Why we made these changes

To fulfill a feature request (KERNEL-229) for saving and managing browser contexts. This allows users to maintain login states, cookies, and other session data across multiple browser instances, streamlining workflows that require persistent authentication.

What changed?

  • New profiles command: Added a new top-level profiles command with subcommands for create, get, delete, list, and download.
  • Browser creation with profiles: Extended the browsers create command with flags (--profile-id, --profile-name, --profile-save) to launch browsers using a specific, persistent profile.
  • Consistent Timestamps: Refactored timestamp formatting across logs, browsers, and app commands to use a new util.FormatLocal utility for consistent local time display.
  • Testing: Added a comprehensive test suite for the new profiles command functionality.

Description generated by Mesa. Update settings

@rgarcia rgarcia requested a review from Sayan- September 3, 2025 19:23
Copy link

@mesa-dot-dev mesa-dot-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Performed full review of 556ab5b...8d8e66e

9 files reviewed | 0 comments | Review on Mesa | Edit Reviewer Settings

Copy link
Contributor

@Sayan- Sayan- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes lgtm! Blocking until we've merged and updated the import!

@rgarcia rgarcia merged commit 191c318 into main Sep 4, 2025
1 check passed
@rgarcia rgarcia deleted the raf/kernel-229-feature-request-api-to-save-browser-contexts-profiles branch September 4, 2025 18:08
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.

3 participants