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

-- 
You received this message because you are subscribed to the Google Groups "Geb 
User Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/geb-user/45bd397f-4e40-4afb-a832-991da9683d78%40googlegroups.com.

Reply via email to