How to configure the Firefox profile at the end of the node in the Web / Remote Web Network configuration


It is always suggested to set the firefox profile in DesiredCapabilities and pass that through the wire ,where the hub is running . Like below

DesiredCapabilities caps = DesiredCapabilities.firefox();

    FirefoxProfile profile=new FirefoxProfile(new File("Local Path to firefox profile folder"));
    caps.setCapability(FirefoxDriver.PROFILE, profile);

URL url = new URL("http://localhost:4444/wd/hub");
WebDriver driver= new RemoteWebDriver(url,caps );

But sending the huge 87-90 mb profile info to hub over http ,for each selenium test case slowing down the test case execution .

I have tried configuring the grid node with "Dwebdriver.firefox.profile=E:\\Firefox_Profile_Location":"", property in json node config file like below.

.//Other Settings
.//Other Settings
.//Other Settings


But running with the above configuration is throwing below error .

WebDriverException: Firefox profile 'E:\Firefox_Profile_Location' named in system property 'webdriver.firefox.profile' not found

Advanced thanks for any help on how to configure the firefox profile from the node side .

I think you'll have to use firefox profile name and not the location.


Have a look at this and this and this

If you want know how to create a profile follow this and this