Skip to content

How to Use Browser Profiles

Starting a browser with a specific profile allows automation tasks to run with pre-defined user settings, saved passwords, and extensions. This activity covers the configuration steps for major browsers to maintain session persistence and personalized automation environments.


Configuration Parameters

Field Description Requirement
Browser Type The target browser (Chrome, Opera, Edge, Firefox). Required
Profile Path The local directory path where the profile data is stored. Required
Profile Name The specific folder name of the profile (e.g., "Profile 1" or "Default"). Required
Arguments Command-line switches to trigger profile loading. Required

[^1]: Required fields must be configured for the activity to execute successfully.


Action Types & Examples

Profile Path Identification

Locating the "User Data" folder within the local AppData directory. - Format: string (Directory Path) - Example Result: "C:\Users\Admin\AppData\Local\Google\Chrome\User Data"

Command-Line Arguments

Constructing the specific string to call the desired profile. - Format: string (Argument) - Example Result: "--profile-directory='Profile 1'"


Implementation Examples by Browser

1. Google Chrome

Chrome uses the user-data-dir and profile-directory arguments. - Path Example: C:\Users\[User]\AppData\Local\Google\Chrome\User Data - Arguments: - --user-data-dir=C:\Users\[User]\AppData\Local\Google\Chrome\User Data - --profile-directory="Profile 1"

2. Opera

Opera follows a similar structure but points to the "Opera Software" directory. - Path Example: C:\Users\[User]\AppData\Roaming\Opera Software\Opera Stable - Arguments: - --user-data-dir=C:\Users\[User]\AppData\Roaming\Opera Software\Opera Stable - --profile-directory="Default"

3. Microsoft Edge

Edge profiles are located within the "Microsoft\Edge" directory. - Path Example: C:\Users\[User]\AppData\Local\Microsoft\Edge\User Data - Arguments: - --user-data-dir=C:\Users\[User]\AppData\Local\Microsoft\Edge\User Data - --profile-directory="Profile 2"

4. Mozilla Firefox

Firefox handles profiles using the -profile path directly. - Path Example: C:\Users\[User]\AppData\Roaming\Mozilla\Firefox\Profiles\xxxx.default-release - Arguments: - -profile "C:\Users\[User]\AppData\Roaming\Mozilla\Firefox\Profiles\xxxx.default-release"


Execution Checklist

Execution Parameters - Browser State: Ensure all browser instances are closed before running the activity. - Path Syntax: Use double backslashes \\ or forward slashes / if required by the system environment. - Folder Names: Verify the exact folder name; Chrome profiles are usually named Profile 1, Profile 2, etc., while the primary is Default.


Technical Notes

Process Conflict: A browser profile cannot be opened by automation if it is already in use by a manual session. Always close the browser completely before starting the automation workflow.

Path Accuracy: To find the exact path of your active profile, type chrome://version (or edge://version, opera://about) in the address bar and look for the Profile Path entry.

Firefox Specifics: Unlike Chromium-based browsers, Firefox requires the absolute path to the specific profile folder when using the -profile argument.


[^1]: Mandatory configurations for session persistence and user-specific settings.