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  
      static java.lang.String SAFARI_DRIVER_NAME
      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)  
    • Field Detail

      • SAFARI_DRIVER_NAME

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

        public static final java.lang.String SAFARI_DRIVER_EXE_PROPERTY
        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

      • getDefaultDriverOptions

        protected org.openqa.selenium.Capabilities getDefaultDriverOptions()
        Overrides:
        getDefaultDriverOptions in class org.openqa.selenium.remote.service.DriverService
      • getDriverName

        public java.lang.String getDriverName()
        Overrides:
        getDriverName in class org.openqa.selenium.remote.service.DriverService
      • getDriverProperty

        public java.lang.String getDriverProperty()
        Overrides:
        getDriverProperty in class org.openqa.selenium.remote.service.DriverService
      • getDriverExecutable

        public java.io.File getDriverExecutable()
        Overrides:
        getDriverExecutable in class org.openqa.selenium.remote.service.DriverService
      • waitUntilAvailable

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