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.
Mozilla Firefox profiles, you can specify either the name of the profile or the path to the profile as custom browser command line arguments
INC file of the test:
- Using the name of the profile
- The following command specifies the name of the profile:
const sCmdLine = """C:\Program Files (x86)\Mozilla Firefox\firefox.exe"" -p myProfile" 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 specifies the path to the profile:
const sCmdLine = """C:\Program Files (x86)\Mozilla Firefox\firefox.exe"" -Profile ""C:/Temp"""
Mozilla Firefox is started by
Silk Test Classic, 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