Class XpiDriverService.Builder

    • Constructor Summary

      Constructors 
      Constructor Description
      Builder()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.List<java.lang.String> createArgs()  
      protected XpiDriverService createDriverService​(java.io.File exe, int port, java.time.Duration timeout, java.util.List<java.lang.String> args, java.util.Map<java.lang.String,​java.lang.String> environment)  
      protected java.io.File findDefaultExecutable()  
      protected java.time.Duration getDefaultTimeout()  
      protected boolean isLegacy()  
      int score​(org.openqa.selenium.Capabilities capabilities)  
      XpiDriverService.Builder withBinary​(org.openqa.selenium.firefox.FirefoxBinary binary)  
      protected org.openqa.selenium.firefox.FirefoxDriverService.Builder withOptions​(org.openqa.selenium.firefox.FirefoxOptions options)  
      XpiDriverService.Builder withProfile​(org.openqa.selenium.firefox.FirefoxProfile profile)  
      • Methods inherited from class org.openqa.selenium.remote.service.DriverService.Builder

        build, getLogFile, getPort, usingAnyFreePort, usingDriverExecutable, usingPort, withEnvironment, withLogFile, withTimeout
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • score

        public int score​(org.openqa.selenium.Capabilities capabilities)
        Specified by:
        score in class org.openqa.selenium.remote.service.DriverService.Builder<XpiDriverService,​XpiDriverService.Builder>
      • withOptions

        protected org.openqa.selenium.firefox.FirefoxDriverService.Builder withOptions​(org.openqa.selenium.firefox.FirefoxOptions options)
        Specified by:
        withOptions in class org.openqa.selenium.firefox.FirefoxDriverService.Builder<XpiDriverService,​XpiDriverService.Builder>
      • findDefaultExecutable

        protected java.io.File findDefaultExecutable()
        Specified by:
        findDefaultExecutable in class org.openqa.selenium.remote.service.DriverService.Builder<XpiDriverService,​XpiDriverService.Builder>
      • createArgs

        protected java.util.List<java.lang.String> createArgs()
        Specified by:
        createArgs in class org.openqa.selenium.remote.service.DriverService.Builder<XpiDriverService,​XpiDriverService.Builder>
      • getDefaultTimeout

        protected java.time.Duration getDefaultTimeout()
        Overrides:
        getDefaultTimeout in class org.openqa.selenium.remote.service.DriverService.Builder<XpiDriverService,​XpiDriverService.Builder>
      • createDriverService

        protected XpiDriverService createDriverService​(java.io.File exe,
                                                       int port,
                                                       java.time.Duration timeout,
                                                       java.util.List<java.lang.String> args,
                                                       java.util.Map<java.lang.String,​java.lang.String> environment)
        Specified by:
        createDriverService in class org.openqa.selenium.remote.service.DriverService.Builder<XpiDriverService,​XpiDriverService.Builder>