Class SafariDriverService

java.lang.Object
org.openqa.selenium.remote.service.DriverService
org.openqa.selenium.safari.SafariDriverService
All Implemented Interfaces:
Closeable, AutoCloseable

public class SafariDriverService extends DriverService
Manages the life and death of SafariDriver.
  • Field Details

  • Constructor Details

    • SafariDriverService

      public SafariDriverService(File executable, int port, Duration timeout, List<String> args, Map<String,String> environment) throws IOException
      Parameters:
      executable - The SafariDriver executable.
      port - Which port to start the SafariDriver on.
      timeout - Timeout waiting for driver server to start.
      args - The arguments to the launched server.
      environment - The environment for the launched server.
      Throws:
      IOException - If an I/O error occurs.
  • Method Details