All changes that you make in
Mozilla Firefox, for example your home page, what toolbars you use, any saved passwords, and your bookmarks, are all stored in a special
folder, which is called a profile.
profiles, you can specify either the name of the profile or the path to the profile as custom browser command line arguments
Edit Application Configurations dialog box
- Select the project from which you want to test
Mozilla Firefox profiles.
Edit Application Configuration in the menu. The
Edit Application Configuration dialog box appears.
- Uncheck the
Show 'Select Browser' dialog before record and playback check box.
Edit to edit the existing
Browser: Firefox application configuration.
Custom as the browser type.
- Type the path to the
Mozilla Firefox executable into the
Executable field. For example
C:\Program Files (x86)\Mozilla Firefox\firefox.exe.
- Type the Firefox profile name or the path to the Firefox profile into the
Command Line Arguments field. For example
-p myProfile or
- Using the name of the profile
- The following command line argument specifies the name of the profile:
You can configure the named profile in the
Profile Manager. To start the
Profile Manager, type
firefox.exe -P into a command window.
- Using the path to the profile
- The following command line argument specifies the path to the profile:
-profile C:/<path to profile folder>
Mozilla Firefox is started by
Silk4J, an empty profile is used. This ensures that the test starts at a clean state. If the user manually starts
Mozilla Firefox, the default profile is used.
As profiles need to be deployed to the test machine are and have high memory consumption, you might face some issues when
testing profiles. If you only want to change a few browser settings, you can use capabilities instead of profiles. For additional
Setting Capabilities for Web-Driver Based Browsers