Creating Firefox profile for your Selenium RC tests
Why create a new firefox profile for Selenium?
We create firefox profile for Selenium RC tests, so we can set light configurations to it, which later on we’ll be using to run our Selenium scripts FASTER.
How to create Firefox profile for your Selenium?
- Make sure all your firefox instance are closed
- Click Start>Run
- Type “firefox.exe -ProfileManager -no-remote”
- Select “Create Profile” (i.e. selenium)
- Click “Next”
- Enter new profile name
- Select a directory folder to store your new profile
- Click “Finish”
- Select “Don’t ask at startup”
- Click “Start Firefox” and configure settings based on suggestion below***
- Set Profile back to “default” (enable you to use your previous settings on your browser)
- Add -firefoxProfileTemplate command line option as you start the Selenium Server
java -jar selenium-server.jar -firefoxProfileTemplate “<Selenium Profile Directory>”
*** Suggested settings for your Selenium Profile
- From “View\Toolbars” tab, uncheck “Bookmarks Toolbar”
- Right click from toolbar and click “Customize”
- Remove “Google search” by dragging it to the “Customize Toolbar” window
- From the “Customize Toolbar” window, click “Use Small Icons” check box then hit “Done”
- Click “Tools\Options” then set the following:
a. “Main” tab
– set Home Page to “about:blank”
– uncheck “Show the Downloads..” option
b. “Tabs” tab
– Select “a new window” for new pages
– Uncheck all warning options
c. “Content” tab
– uncheck “Block pop-up” windows option
d. “Privacy” tab
– uncheck all “History” options
e. “Security” tab
– uncheck all “Security” options
– click “Settings” and uncheck all warning options
f. “Advanced” tab
– Uncheck “autoscrolling” option from “General” tab
– uncheck “warn me …” and “Ssearch Engines”option from “Update” tab - From “Tools\Add-ons” install the following:
– Firebug: allows you to edit, debug, and monitor CSS, HTML, and JavaScript on your application under test
– Selenium IDE: allows you to record, edit, and debug Selenium tests
– ScreenGrab: saves entire webpages as images. - From the address bar type “about:config” and add the following by right-click anywhere on the page and selecting “new”
– extensions.update.notifyUser (type=boolean; value=false)
– extensions.newAddons (type=boolean; value=false)
Categories: selenium
firefox profile, selenium, selenium rc
nice post! very detailed 🙂
Thanks! A really handy guide.
hehehe,, this is so helpful, kakareformat lng so another creation ulit,, buti na lng na-blog ni girly girl…
salamat po, Doc…
isang suking tagahanga,
gracielita… hihihi
Awesome post..
I searched and searched the internet for this , but found nothing as clear as this one..
Good Job…
For those on Ubuntu, you can add this to #7:
– toolkit.networkmanager.disable (type=boolean, value=true)
This will prevent Firefox from automatically running in offline mode when you are not connected to the internet.
on a mac, launch FF with:
/Applications/Firefox.app/Contents/MacOS/firefox -ProfileManager -no-remote
creates the profile fine, though I haven’t got firefoxProfileTemplate working yet (it just loads the standard selenium profile)
Anyone get “extensions.newAddons (type=boolean; value=false)” working with FF 3 or 3.5?
Err, I guess both of these are required.. Anyway anyone using these with FF3 or 3.5?
extensions.update.notifyUser (type=boolean; value=false)
– extensions.newAddons (type=boolean; value=false
@evan – yeah, we’re able to set the two configurations in FF3.0.13 to be exact, and get rid of the ‘extension upgrade’ window everytime Selenium server launches FireFox;
@aaron and xavier – your info are greatly appreciated. thanks!
In [5.f] I’ve also unchecked “Check my spelling as I type”
Thanks for this. When I need to modify a few items in selenium I always end up here.
Thanks a Lot for a clear document. It really helped
Thanks it helps and worked!
Actually this profile can also be used to accept unassigned certificates for testing https:// websites
HI
I am Naveen.I had learnt ,how to run selenium IDE & selenium RC.The main thing is how to generate a Test Report after the running the test Succesfully.And another thing is How to run Selenium Core and when it is useful .And suggest some more open source tools for testing .Net and Java Projects ………………………..
Try to help me…..
Thanks
Naveen
Reply
hey, this was more in detail – cheers…
Hi, thank you for clear instruction. But I have a problem – I can’t authenticate via client certificate. In default configuration it’s possible. Is there a solution?
sorry, it was my fault 😦
Hi all,
Has anyone been able to find out the equivalent for extensions.newAddons in FF 3.6. The add-ons pop-up keep on coming up every time the RC is started.
Thanks,
Nitin
hi nitin,
its still “extensions.newAddons” in FF3.6, make sure you set the value to false and also please check your extensions.update.notifyUser (type=boolean; value=false). and let’s see if you’ll still encounter the pop ups.
thanks,
girlie
hi i have done creating profile by following the below steps ..but how to handle the exceptions when website is posted using https? can some one help me out ..
To really speed things up I would like to have Ad Block add-in activated. How do I do that?
hi jonathan,
run “firefox.exe -ProfileManager” and go to your Selenium Firefox profile. from Tools\Add-ons you can get and install the AdBlock that you like.
regards,
girlie
thanks for this excellent steps for avoiding add-on pop-up while running selenium rc
@girlie – thanks, it worked and was simpler than I thought.
@Neelu – ADBlock will not only block pop-ups, but mainly save the browser valuable time for downloading useless ads
Hi,
I’ve followed these instructions to the letter, but Firefox (3.5.10) always loads with a profile that ISN’T either my default or my Selenium one. I know this because there are no add-ons on the browser that’s loaded, and on both profiles there are definitely add-ons.
Here’s my Selenium startup command:
java -jar lib/selenium-server.jar -firefoxProfileTemplate “C:\Apps\FirefoxProfiles\Selenium”
Any ideas? Thanks.
Hi Chris,
your selenium server start up command seems fine. how did you launch your firefox browser in your scripts?
Girlie
Hi Girlie,
I’m new to selenium, I have copied a proj from svn. I can use iehta to run the test suite but not firefox/chrome . Do you have any idea how I can use firefox/chrome to run the test suite? Thanks
Hi third,
try something like this:
@selenium = Selenium::SeleniumDriver.new(‘host’, ‘port’,’browser’,’url’,’timeout’)
e.g. (‘localhost’ , 4444, ‘*chrome’ , ‘http://www.google.com’, 10000)
Supported browsers include:
*firefox
*mock
*firefoxproxy
*pifirefox
*chrome
*iexploreproxy
*iexplore
*firefox3
*safariproxy
*googlechrome
*konqueror
*firefox2
*safari
*piiexplore
*firefoxchrome
*opera
*iehta
*custom
Hi all,
I have a problem with this. I have defined a new firefox profile, and after running the java -jar command with the profile argument the firefox window never appears.
If I try to open an url from a word document for example, the firefox window appears with the new profile selected. It seems like I have to do something else to make the firefox window appearing.
Could anyone help me?
Thanks.
hi rpmanuelo,
could you indicate the actual command you used to launch your firefox profile.
thanks,
girlie
i use selenium RC on ubuntu 9.10, i try to test my intranet but a http pop up appears. i try to handle that by creating a profile but the problem persist. although i put extensions.update.notifyUser (type=boolean; value=false), but the popup for update add on appears.
Any one have an idea?
What if the authentication is related to kerberos and ldap???
Hello,
I have followed your tutorial but my Selenium is starting default profile though. I would appreciate any hint how to make it properly.
Here is my snippet of my java code:
selenium = new DefaultSelenium(“localhost”, 4444, “*firefox”, “http://somewhere.com”);
selenium.start();
doSomething();
selenium.stop();
I start Selenium Server in this way:
java -jar D:\Library\selenium-server-1.0.3\selenium-server.jar –
firefoxProfileTemplate C:\Users\Fazir\AppData\Local\Mozilla\Firefox\Profiles\mi
kl476g.Selenium\
Both paths are fine, anyway Selenium uses default profile. Please help me if you can 🙂
Problem fixed, the problem was incorrect path. There are two similar directories in Windows 7:
C:\Users\Username\AppData\Local\Mozilla\Firefox\Profiles\
and
C:\Users\Username\AppData\Roaming\Mozilla\Firefox\Profiles\
The second is proper one 😉
Hi Girlie,
I have created firefox profile in default location and trying to launch with Selenium RC. Selenium is launching the right profile but still Add-on page is displaying. I have set all ‘false’ as you said but still facing the problem. ff version is 3.6.8.
Whenever Selenium launches firefox the profile is opening from a Temp folder (I don’t know whether this is a right behaviour), but the option “extensions.newAddons” is not appear in “about:config”.
Please help to resolve this.
Thanks,
Vas
Hi Girlie,
I have followed all the steps as mentioned above and created successfully, now my Selenium is opening the profile which I have given. The actual problem is Add-on page, even I set all the values specified above and still getting that pop-up. (FF version 3.6.8)
Once Selenium launches the firefox I am not finding the “extensions.newAddons” in the about:config page. I don’t know what is the mistake I am doing. Please help me to resolve this.
Thanks
Hi Vas,
If you have you successfully added “extensions.newAddons” in the preference list of your Selenium profile, you should be able to find it there. Are you sure you’re launching the right firefox profile?
You might need to check the selenium name and directory as you start your selenium server OR manually check it by running the “firefox.exe -ProfileManager -no-remote” then select your selenium profile there.
Girlie
Hi Girlie,
Thanks for quick response. The problem is resolved. Actually I have added “extensions.newAddons” option after opening the firefox by Selenium which creates in run time and open the firefox from temp folder. I opened FF manually and added the option then it is working fine.
The other issue is I have created a profile in my personal folder other than the default location like Folder Name : C:\TestAutomation\FFProfile
Profile in the folder : selProfile
Once created I am seeing all the files in the “C:\TestAutomation\FFProfile” instead “selProfile”. If this is right behavior then please let me know how to use this profile in my script.
Thanks again.
Hi
Any idea on the above issue, what is the profile name if we change the profile location to other than default location.
Vas
Hi Vas,
FFProfile – is your default firefox profile
selProfile – is your selenium profile
If i understood your question correctly, you should be able to use your profile by first launching Seleniumusing this command:
java -jar selenium-server.jar -firefoxProfileTemplate “”
in your case, it would be: java -jar selenium-server.jar -firefoxProfileTemplate “C:\TestAutomation\selProfile”
Lemme know if it works.
Girlie
Sorry Girlie,
That is not working and getting “Firefox profile template doesn’t exist:”
FFProfile – is your default firefox profile – No, this is the folder, where selProfile is located.
selProfile – is your selenium profile – Yes, this is a profile name
Thanks
Hi Vas,
i see. sorry for the confusion. you should launch Selenium by this command: java -jar selenium-server.jar -firefoxProfileTemplate “C:\TestAutomation\FFProfile”
“selProfile” would only be seen in the Profile Manager. what’s important when launching selenium is the Selenium Profile Directory and not Profile name.
Girlie
Hi Girlie,
Sorry, again same error. The below one is working.
java -jar C:\Installables\SeleniumRC\selenium-server-1.0.3\selenium-server.jar -firefoxProfileTemplate “C:\Documents and Settings\vas\Application Data\Mozilla\Firefox\Profiles\uzex29sg.SeleniumProfile”
But if I change the location it is not working.
Can I have your mail id to give more screen shots with more details.
Thanks
Sorry..sorry….sorry.. it is working. I don’t know what is the wrong. I closed all the sessions and started execution then it started working.
Thank you very much for your help.
I have one more problem Girlie, that is multiple applications operation.
I have to create a record using one application and verify the same record in the another application. How to handle this situation.
Sorry for asking more questions…
Vas
Hi Girlie,
Thanks a lot for your post, it help me solved a problem haunting me for a long time, I just didn’t know how to configure the profile for the firefox instance launched by Selenium sever…, thanks a lot:)
poiu2000
Thanks for the instruction!
Based on it, I created my Russian version http://bugtrack-online.blogspot.com/2010/11/selenium-server-firefox.html
Hi Girlie,
Excuse me but I did not attend to your question because I was involved in other projects.
I launch the server using this command: java -jar selenium-server.jar -firefoxProfileTemplate “C:\firefox_monitor”
but it does not start any firefox window (default profile nor “firefox_monitor” profile).
Thanks again.
Hi again Girlie,
I got it. I checked the firefox profile settings and how to invoke the selenium server and it is working properly.
thanks.
Hi Girlie,
I am able to start the selenium server with the new profile and it also kicks off using selenium.
My problem is i still get a “untrusted connection…” page after all the above settings. Could you please help?
My code clicks on a link on an “http” page which takes to an “https” page where i see this problem.
Regards,
Sangeeta
Hi Girlie,
I could get this working by kicking off the firefox profile browser once manually and setting up the security certificate. Now my profile picks the certificate from
selenium rc too.
I got a few question though just for information:
1) Out of all the steps which you mentioned above which is that step which actually tells the browser that it is a trusted connection?
2) When i do the similar setting on my default profile then the trusted connection doesn’t work?
Regards,
San
Hi All,
Thanks for the great replies here. Was stuck on that profile issue for a while……win 64 with selenium uses the roaming profile…..good stuff!
Thanks, works like a charm!
Hi All,
If you are still having problems with self-signed certificates in FF, check my solution.
Hope this work also for you 🙂
http://jktechtrip.wordpress.com/2011/04/14/selenium-and-self-signed-ssl-certificates-in-firefox-java-linux/
Regards,
Janusz
it is very help full .
The Selenium server fails to load any page(“Problem loading page”) . The Code is as below :
Please give some inputs
———————–
package com.example.tests;
import com.thoughtworks.selenium.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import java.util.regex.Pattern;
public class GoogleTest extends SeleneseTestCase {
@Before
public void setUp() throws Exception {
selenium = new DefaultSelenium(“localhost”, 4444, “*firefox”, “http://www.yahoo.com/”);
selenium.start();
}
@Test
public void testGoogle() throws Exception {
selenium.open(“/”);
}
@After
public void tearDown() throws Exception {
selenium.stop();
}
}
Custom Firefox Profile from Selenium RC
This .bat file :
java -jar C:\Selenium\selenium-remote-control-1.0.3\selenium-server-1.0.3\selenium-server.jar -firefoxProfileTemplate “C:\Documents and Settings\xx28039\Application Data\Mozilla\Firefox\Profiles\selenium.default” “https://webdev.tschca3.xxxxxx.com/HAA/Login.htm” “C:\Selenium\testsuite.html” “C:\Selenium\results.html”
When I open the batch file, it opens and closes in a second. Please help me.
I have created FireFix Profile using this link ( https://girliemangalo.wordpress.com/2009/02/05/creating-firefox-profile-for-your-selenium-rc-tests/ )
My FireFox version : 3.6.17
selenium-remote-control-1.0.3
Java version : 1.6.0_26
While creating FF profile , I have given path C:\Selenium\seleniumFFProfile
I tried both paths after – firefoxProfileTemplate . Both are giving same problem.
If I use below .cmd commnad, FF is launching and works fine except certification issue.
MY application is https:
java -jar “C:\Selenium\selenium-remote-control-1.0.3\selenium-server-1.0.3\selenium-server.jar” -htmlSuite “*chrome” “https://webdev.tschca3.xxxxx.com/HAA/Login.htm” “C:\Selenium\testsuite.html” “C:\Selenium\results.html” -log selenium.log
Please help me.
Thanks,
Hi,
i followed the above steps mentioned in creating the firefox profile and i kept my profile name as Pselenium and stored it in C:\Selenium folder and when i run the RC command “java -jar selenium-server-standalone-2.0b3.jar -firefoxProfileTemplate “c:/Selenium/Pselenium”” i am seeing error message “Firefox profile template doesn’t exist: c:\Selenium\Pselenium”
can any one say where the problem could be
Regards,
Sairam
How does this profile accept unsigned certificates? Which setting did that? thanks
Hi sairam,
kindly check your forward slash in your selenium profile directory. please try java -jar selenium-server-standalone-2.0b3.jar -firefoxProfileTemplate “c:\Selenium\Pselenium” and let us know if this works
thanks,
girlie
Nice post.
But I am still having the issue, even after creating a profile and doing the Exception setting. I am adding the URL in the exception list.
Still I get the
This Connection is Untrusted
You have asked Firefox to connect
securely to someUrl:9444, but we can’t confirm that your connection is secure.
Normally, when you try to connect securely,
sites will present trusted identification to prove that you are
going to the right place. However, this site’s identity can’t be verified.
What Should I Do?
If you usually connect to
this site without problems, this error could mean that someone is
trying to impersonate the site, and you shouldn’t continue.
Technical Details
I Understand the Risks
error.
Please could you suggest me, what might be wrong.
I update my test result on a spreadsheet which has been very successful.
such helpful guide.
Thank you
Hi,
Problem:
=======
I am unable to view flash content in the Selenium launched firefox.
Background and description:
=======================
I am trying to run my Selenium tests on Linux. The AUT contains has a
lot of flash content(like graphs and pie charts). I am unable to view
the flash content (in the application) in the Selenium launched
browser (asks to install latest adobe flash). However, on the same
machine, I am able to view the flash content when I launch firefox directly; but not in the browser launched by Selenium.
Observation:
==========
In the Selenium launched browser, the plugins (along with adobe flash
plug-in) are not displayed in Tools->add-ons->plug-ins. The firefox launched riectly, on this machine has the adobe flash plug-in.
Any ideas, why selenium is not able to load the plug-ins?
I tried using the -firefoxProfileTemplate option, but still does not work
Selenium java client driver is 1.0.1
Selenium server is 2.0
I did create a profile manually and started the Selenium Server after associating the Profile. but, for some reason, it does not pick the Profile that I point to as In don’t see the plug-ins in the Selenium launched browser.
Very soon this website will be famous amid all blogging users, due to it\’s nice posts
Nice article, but what I’ve noticed, at least for FF 3.6 profile manager is that there is no option to import and export an existing FF profile. So you can only create new ones and edit existing ones on your FF installation (i.e. existing profiles you’ve set up on the machine).
As a hack, to do an import, I’ve create a dummy profile with the manager, then open FF with it, and exit FF. Then replace/overwrite content in that profile with profile to import. Then open FF again with that modified profile and make any additional changes as needed, then exit. Then can manually copy back that profile folder elsewhere as export step. This method allows you to update a FF profile created on another machine.
Is there any better method to do an import/export other than my hack? Or use newer version of FF?
Hi, I have created a firefox profile. still it gives me security error every time I open my website. I am using Firefox template when I start the selenium server.
Am I missing something/
Hi! Help, please. How to specify a profile in the code? Server started from code, and each time creates a new profile.
Hi lgor,
Depends on your framework but simply I think what you need is a batch file that looks something like this:
java -jar selenium-server.jar -firefoxProfileTemplate “[profile_directory]”
Upon executing this, you are basically pointing to your profile_directory.
Girlie
It might also be useful to update this blog post with info on Selenium 2 / Web Driver and FF profiles. I think Igor’s post can relate to that as Web Driver starts profile from code rather than the Selenium server, the latter option no longer valid.
This of course is a bit language dependent, and here’s a sample in Java. Most of the Web Driver samples / doc tell you how to create new/blank profile and then customize config and load it with any extensions. My sample shows how to load existing FF profile you created for Selenium RC and reuse it for Selenium 2 / Web Driver.
FirefoxProfile profile = new FirefoxProfile(new File(“C:\\PathTo\\CustomProfileDirectory”));
driver = new FirefoxDriver(profile);
Hi, I tried creating a new profile and gave it in the startup prompt and when i added a add-on that is httpfox via the browser…and brought it up with that profile..it was not there.. 😦 please help….
Vignesh, try closing all the browser sessions and open freshly then try…
public class Enrollment extends SeleneseTestCase {
@Before
public void setUp() throws Exception {
selenium = new DefaultSelenium(“localhost”, 4444, “*firefox”, “https://google.com/”);
selenium.start();
}
Hi,
After running this using RC, Firefox browser is opened but not the url google.com, Please help….
can we create googlechrome profile for my Selenium RC tests similar to firefox profile???? If not “How can I avoid SSL certificate popups in googlechrome?”
plzz help mee
hi,
Is it possible to create googlechrome profile for Selenium RC tests similar to firefox profile
Can some body help me in creating googlevchrome profile for Selenium RC tests in order to avoid SSL certificate popups?
Thanks. this is helpful. After following everything when I tried to run something, it opens firefox but then it gets stuck. The page is blank and it shows something like this in dos –
——————————————————-
T E S T S
——————————————————-
Running TestSuite
– Working with browser flavor : *firefox
– starting a local RC
– using profile SeleniumProfile located C:\Documents and Settings\username\Deskto
p\firefoxprofile
After that, it is stuck and doesn’t go anywhere. Any thing that i might have done wrong in the setting:?
Awesome post it helps me a lot and its content is very effectively written and clear
Thankyou so much Girlie.This is so clear and very helpful.Thanks a lot.Your post really saved me.
Thanks for your post.
We were stuck at creating/running a new Firefox profile with Selenium.
We googled and found your post very helpful.
Thanks from our IT Team
You’re always welcome guys! I’m glad this post is helpful in your Selenium experience 🙂 Let’s all continue learning and sharing! ftw!
If you have problems with Selenium not accepting your -firefoxProfileTemplate param, there’s a simple solution:
WRONG: java -jar “selenium-server-standalone.jar” -htmlSuite … -firefoxProfileTemplate …
RIGHT: java -jar “selenium-server-standalone.jar” -firefoxProfileTemplate … -htmlSuite …
You have to flip the order of the two parameters 🙂
thanks!!!!
Hi Girlie,
Many thanks for your post, its been extremely helpful, however I’ve hit a road block on the steps,
my test environment is trunk.tools,
what would be the values for my test enviroment “network.negotiate-auth.delegation-uris”…this is what I’ve had under values “localhost,trunk”
I’ve also tried number of other values such as “localhost,trunk,tools” & “trunk,tools,localhost”
I would greatly appreciate your help
Thanks
Niroshan N
thank you girlie! you are a rockstar!
thank you!
Track back http://generalredneck.com/blog/headless-selenium
Hi, I am a beginner to Selenium and I am struck with Firefox Profile. The issue I am facing is:
In my application, a Firefox addon has to be installed for using my site. So I create a Profile and login to my site, install the add-on and mention this profile in my Selenium code.
When I run the code, the firefox opens up with “Add-on” Page which throws “Modal dialog present” to my code…
Please help me in launching the Firefox with my profile but without the Add-on page popping in..
I am using Selenium webdriver with Python
The code I used is :
fp = webdriver.FirefoxProfile(“D:/srivi/profile”)
self.driver = webdriver.Firefox(fp)
Nice quotes and very useful…
Thought I should bring this up for discussion. Great that this article has helped many. But are so many still on Selenium RC? I made comment or two previously regarding use of profiles for Selenium 2 / WebDriver and about editing/updating profiles between machines that this original article does not cover. Would be nice to hear some comments/discussions about these areas.
hi Girlie…i have fixed my problem with firefox with your post…but I cant run chrome now…can anyone help me on this…i am still new to selenium rc….
Ignore my question I already have fixed it….i have found out that platform property is key sensetive…..(so from windows it was really WINDOWS)…..but thnx though…..
Hi Girlie…
I have encountered another problem…I have uninstalled firefox and installed it again but now the selenium is now running with weird actions on firefox…
Failure: OpenQA.Selenium.UnhandledAlertException : Modal dialog present
Build info: version: ‘2.26.0’, revision: ‘18041’, time: ‘2012-11-01 19:33:38’
System info: os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.7.0_09’
Driver info: driver.version: EventFiringWebDriver
Session ID: c4a23254-250d-43bf-bc5b-06dde3ec26f0
I have tried debugging and it seems this was fired when I tried to get the current url(driver.Url)….
It does this weird action…it reloads the page that makes the driver null…
By the way I am installing firefox not on default location (in here: “C:\Program Files (x86)\Mozilla Firefox”)…I am using now Firefox 15 and selenium 2.26…..
I could clarify more details if needed…
Please help me with this…I have been stuck at this problem for 2 days now….Anyone please
Hi Wendell,
Try downgrading your Firefox version, i’ve read in some forums that latest selenium 2.26 have issues running in firefox 15++.
Also can you try rolling back your selenium as well to 2.25 which is the latest stable version of selenium based on their site http://seleniumhq.org/download/
Hello girlie,
I have fixed it…thnx for verifying i really did think it has some issues…but i have founded out it was an issue with the site I was testing…now i got it fixed…i think in selenium 2.26 they added special handling to unexpected alerts which was not included in 2.25….i don’t if it was good or not….But really thanks…million of thanks….^_^
I recently was updating one FF profile we have for automation and came to notice that when you configure/customize an FF profile for Selenium automation, you don’t actually need all the (junk) files in the FF profile directory. You only need the core files. It would be interesting to figure out what core files are exactly needed to retain the desired customized settings. One given is you need the XPI FF extensions or their repsective directories within the FF profile directory in order to load them, but what else is really needed. Trial and error to find out. But it would be nice if someone can provide insight into this. Perhaps I might when I get a chance.
good to hear that Wendell 🙂
thnx…and nice touch on the site….^_^
hello girlie..
Do you know of a way how to set up one server for the webdriver for chrome to run multithread at the same time…cause what happens is that it just queue up the threads…i have this…
for selenium server:
java -jar C:\SeleniumLibs\selenium-server-standalone-2.26.0.jar -firefoxProfileTemplate “C:\wendell\firefoxProfile\new\Selenium” -role hub -port 4445 -log “C:\Selenium Batch Files\selenium.log”
for chrome:
java -jar C:\SeleniumLibs\selenium-server-standalone-2.26.0.jar -role webdriver -hub http://localhost:4445/grid/register -port 5565 -browser “browserName=chrome,version=23.0,platform=WINDOWS” -Dwebdriver.chrome.driver=C:\SeleniumLibs\chromedriver.exe
I have tried running multi windows for chrome server with different ports but it’s not quite good to look at cause it causes many windows to be opened….so is there another way?…
Anyone please help…thanks
how can i make sure my selenium test r using this profile?
where do i need to make changes for that?
Hi Guys,
Thank you for this posting… it did help me in the beginning and the Server started with
a new session.
But after I stopped the server via this command: http://localhost:4444/selenium-server/driver/?cmd=shutDownSeleniumServer
and then I couldn’t start it again with the new session… Error: “Unable to create new session”
Any idea please?
Many Thanks