Class SafariDriverService

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class SafariDriverService
    extends org.openqa.selenium.remote.service.DriverService
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String SAFARI_DRIVER_EXE_PROPERTY
      System property that defines the location of the safaridriver executable that will be used by the default service.
      • Fields inherited from class org.openqa.selenium.remote.service.DriverService

        DEFAULT_TIMEOUT, process
    • Constructor Summary

      Constructors 
      Constructor Description
      SafariDriverService​(java.io.File executable, int port, java.time.Duration timeout, java.util.List<java.lang.String> args, java.util.Map<java.lang.String,​java.lang.String> environment)  
      SafariDriverService​(java.io.File executable, int port, java.util.List<java.lang.String> args, java.util.Map<java.lang.String,​java.lang.String> environment)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static SafariDriverService createDefaultService()  
      protected void waitUntilAvailable()  
      • Methods inherited from class org.openqa.selenium.remote.service.DriverService

        checkExecutable, close, findExecutable, getArgs, getEnvironment, getOutputStream, getTimeout, getUrl, getUrl, hasShutdownEndpoint, isRunning, sendOutputTo, start, stop
      • Methods inherited from class java.lang.Object

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

      • SAFARI_DRIVER_EXE_PROPERTY

        public static final java.lang.String SAFARI_DRIVER_EXE_PROPERTY
        System property that defines the location of the safaridriver executable that will be used by the default service.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SafariDriverService

        public SafariDriverService​(java.io.File executable,
                                   int port,
                                   java.util.List<java.lang.String> args,
                                   java.util.Map<java.lang.String,​java.lang.String> environment)
                            throws java.io.IOException
        Throws:
        java.io.IOException
      • SafariDriverService

        public SafariDriverService​(java.io.File executable,
                                   int port,
                                   java.time.Duration timeout,
                                   java.util.List<java.lang.String> args,
                                   java.util.Map<java.lang.String,​java.lang.String> environment)
                            throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • waitUntilAvailable

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