Class XpiDriverService


  • public class XpiDriverService
    extends org.openqa.selenium.firefox.FirefoxDriverService
    • Field Summary

      • Fields inherited from class org.openqa.selenium.remote.service.DriverService

        DEFAULT_TIMEOUT, process
    • Method Detail

      • getUrl

        protected java.net.URL getUrl​(int port)
                               throws java.net.MalformedURLException
        Overrides:
        getUrl in class org.openqa.selenium.remote.service.DriverService
        Throws:
        java.net.MalformedURLException
      • start

        public void start()
                   throws java.io.IOException
        Overrides:
        start in class org.openqa.selenium.remote.service.DriverService
        Throws:
        java.io.IOException
      • waitUntilAvailable

        protected void waitUntilAvailable()
        Overrides:
        waitUntilAvailable in class org.openqa.selenium.remote.service.DriverService
      • stop

        public void stop()
        Overrides:
        stop in class org.openqa.selenium.remote.service.DriverService
      • createDefaultService

        public static XpiDriverService createDefaultService()
        Configures and returns a new XpiDriverService using the default configuration. In this configuration, the service will use the firefox executable identified by the FirefoxDriver.SystemProperty.BROWSER_BINARY system property on a free port.
        Returns:
        A new XpiDriverService using the default configuration.