Display results as :

Rechercher Advanced Search

Latest topics

Custom Firefox profile doesn't work

View previous topic View next topic Go down

Custom Firefox profile doesn't work

Post by Dalmi on Thu Dec 02, 2010 3:49 pm

Hi there,

I try to start Selenium RC with a modified profile for Firefox, but Selenium doesn't take this profile. Crying or Very sad
I searched the web and tried several things, but nothing helped.

In the ant-File, I placed the following 2 lines:
<arg value="-firefoxProfileTemplate"/>
<arg value="Selenium"/>

The profile is in the directory "Selenium". I also tried to take the absolute path, but this didn't work either. And I tried to put it as a parameter in the bat-File (ant -DseleniumArgs=”-firefoxProfileTemplate Selenium” launch-remote-control) but with the same result.

Everytime I start a testcase, Selenium starts with it's own Firefox-profile and not with the profile I specified.

Does anyone have an idea what I'm doing wrong?

Thanks and greets,



Posts : 1
Join date : 2010-12-02

Back to top Go down

Re: Custom Firefox profile doesn't work

Post by Adviser on Sat Dec 11, 2010 1:32 pm

Hi ,

Follow the steps to start selenium with firefox profile. First do the with basic commands on selenium server and then use ant to replicate those steps

1. download the following selenium RC working with Firefox latest browser version till 3.7. the URL are as follows


2. After that create a new profile in firefox if not created. check some tutorials how to create it , if not know how to do it.

3. now get the absolute path of your profile. type in Run prompt
Now reach to your newly profile like fierox->profiles->new profile.

4. copy the absoulte path and start the command prompt.

5. reach at selenium server folder which you downloaded from above link.

6. use the following commands:
java -jar selenium-server.jar -interactive -firefoxProfileTemplate "copy your absolute path here"

7. now you server start with firefox profile. Now open your site to ensure same profile started. type following commands after server started.


8 If your browser start with google, all worked like charm. Now do the same step for your ant process.

Hope this will help. Best of luck.

Very Happy


Posts : 379
Join date : 2009-07-30
Location : India

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum