Description
While installing the Chromium Edge browser, it creates a default profile folder in your local drive that saves info like bookmarks, passwords, user preferences, and some other settings. You can have multiple Chromium Edge profiles, each containing a separate set of user information. Let's say there are two users who are using the same computer, and both want their own Chromium Edge settings then both users can create & access their own Chromium Edge profile whenever they open the Chromium Edge browser.
When Chromium Edge is launched, certain plug-ins, extensions, bookmarks, etc. are not available. It opens a blank Chromium Edge browser. Sometimes we need these plug-ins, extensions, etc. while executing the selenium test case.
To enable the usage of these different bookmarks, have separate extensions, plug-ins, etc. Chromium Edge profiles system comes in handy. Multiple profiles can be created on a system, each profile having its own bookmarks, settings, add-ons, browser history, cookies, and other data.
What is the need for creating a custom Chromium Edge profile?
- Many times, we require some special settings in the Chromium Edge profile just to make test execution more reliable. The most common example is SSL certificate settings or browser plug-ins that handle self-signed certificates. For these kinds of requirements during test execution, we need to create a custom profile that can easily handle this requirement & make test execution more reliable.
- Every time you use different profiles, the SSL certificates you accepted or the plug-ins you installed would be different and that would make the tests behave differently on the machines.
- Always make sure that the profile you have created must be very lightweight that only includes those plug-ins, extensions, and settings that are required in test execution. Whenever selenium starts, a new session is created for the Chromium Edge instance that copies the entire profile in some temporary directory and if the profile is big, it makes it slow & unreliable.
Chromium Edge stores its information about the different profile that has been created till now in the below folder:
C:\Users\USERNAME\AppData\Local\Microsoft\Edge SxS\User Data
How to create a new profile in Chromium Edge:
- Chromium Edge allows you to manage profiles while it’s running. To access this feature, go to Chromium Edge and navigate to settings after clicking on the vertical ellipsis. In settings, click on the 'Add Profile' section under the Your Profile category.
2. Select Add
3. Sign in to sync data, to connect to an existing account, then select Continue.
4. Select the account you want to sync.
5. Use the slider to toggle sign in synchronization to Yes, then select Confirm.
6. The additional profiles are now available for selection.
Note: To use the profile that you have created above, make sure that all the instances of the chrome browser that are opened using some other profile should be closed before executing the Start Web Browser building block.
For any clarification, please contact our Priority Support.
Comments
0 comments
Please sign in to leave a comment.