Custom Firefox profile doesn't work
Page 1 of 1 • Share •
Custom Firefox profile doesn't work
Hi there,
I try to start Selenium RC with a modified profile for Firefox, but Selenium doesn't take this profile.
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,
Dalmi
I try to start Selenium RC with a modified profile for Firefox, but Selenium doesn't take this profile.
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,
Dalmi
Dalmi- Posts: 1
Join date: 2010-12-02
Re: Custom Firefox profile doesn't work
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
"http://www.mediafire.com/?rjkjx4w2a237x92"
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
%AppData%/Mozilla
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.
cmd=getNewBroserSession&1=*firefox&2=http://www.google.co.in
cmd=open&1=http://www.google.co.in
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.
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
"http://www.mediafire.com/?rjkjx4w2a237x92"
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
%AppData%/Mozilla
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.
cmd=getNewBroserSession&1=*firefox&2=http://www.google.co.in
cmd=open&1=http://www.google.co.in
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.
Similar topics» 5130c 2700c MMC JUMPER 100% WORK
» a200 niktell sim ic jumpers 100%tested work
» Updated Status of Unit-5 Balance Work for BOP Package
» Custom Firefox profile doesn't work
» Using custom (or existing) firefox profile with webdriver
» a200 niktell sim ic jumpers 100%tested work
» Updated Status of Unit-5 Balance Work for BOP Package
» Custom Firefox profile doesn't work
» Using custom (or existing) firefox profile with webdriver
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum

» sample webdriver code for php users
» which standalone server to use
» Dynamic Drop Down Selection
» It is possible to find list of all URL's exist in any web page in selenium ide
» It is possible to compare 2 same images in selenium IDE.
» how to compare 2 ULR's which is exist in same web page (View page source).
» Web Driver: Unable to click a link present inside the frame of a frameset
» Help me to get dynamicaly loaded options of dropdown in Selenium RC -Junit test case