Creating Firefox Profile Template

When ever we are working with Selenium Server (RC), every time the server starts Firefox browser it starts in separate profile. This may lead to fail the test case because of Digital Certificate Verification etc instead of AUT .


To resolve this issue we can create a Firefox Profile, add that certificate and pass the profile path to Server while starting the server.

Steps to Create Firefox Profile Template

1. Open Run and type "firefox.exe -p" and press enter.


2. This will leads to "Firefox - Choose User Profile" prompt.


3. Now click on Create Profile button, Click Next, provide profile name, location and press Finish button


4. Add the required Security Certificates digital certificates etc.

5. Now we need to provide additional parameter while starting the server as follows:

>java -jar <selenium server>.jar -firefoxProfileTemplate "path of newly created profile"

6. Now you can run the application without fail.