hi,
how do you set Portable Firefox as default browser for your Geb tests? I tried the following in GebConfig.groovy and it still picked up the default firefox binary location "C:\\Program Files\\Mozilla Firefox\\firefox.exe"
.
firefox {
FirefoxProfile profile = new FirefoxProfile();
FirefoxOptions options = new FirefoxOptions();
options.setCapability("javascriptEnabled", true);
options.setCapability("acceptInsecureCerts", true);
driver = {
def tmpDriver = new FirefoxDriver(new GeckoDriverService.Builder().usingFirefoxBinary(new FirefoxBinary(new File("C:\\Users\\rnatesan\\Downloads\\FirefoxPortable" +
"\\FirefoxPortable.exe"))).build(), options)
tmpDriver.manage().window().maximize()
return tmpDriver }
Thanks,
Ramesh