Hi All,
I am running remote webdriver HUB and NODE in a LINUX BOX but running my Java testng tests from a windows Box from eclipse.
1) When running it locally with firefox driver, I am able to use a Firefox Profile which has addon(REST Client).
2) While trying to run the same test case with remote webdriver, its starting a New Firefox profile without addon(REST Client).@BeforeTest
public void beforeTest() throws Exception {
File profileDirectory = new File(C://test/ffprofile);
FirefoxProfile fp = new FirefoxProfile(profileDirectory);
DesiredCapabilities capabilities = DesiredCapabilities.firefox();
capabilities.setCapability(FirefoxDriver.PROFILE, fp);
driver = new RemoteWebDriver(new URL("http://XX.XX.XX.XX:4444/wd/hub"), capabilities);
driver.manage().timeouts().implicitlyWait(15, TimeUnit.SECONDS);
driver.manage().timeouts().pageLoadTimeout(30, TimeUnit.SECONDS);
} // beforeTest
To overcome this issue, I created a firefox profile with addon(REST Client) on Linux box where HUB & NODE are running. But HOW DO I PASS remote firefox profile from my windows box?
Cheers