Class SafariDriverCommandExecutor
Provides a way of executing Commands using the SafariDriver.
public class SafariDriverCommandExecutor : ICommandExecutor, IDisposable
- Inheritance
-
SafariDriverCommandExecutor
- Implements
- Inherited Members
Constructors
SafariDriverCommandExecutor(int)
Initializes a new instance of the SafariDriverCommandExecutor class.
public SafariDriverCommandExecutor(int port)
Parameters
port
intThe port on which the executor communicates with the extension.
SafariDriverCommandExecutor(int, string)
Initializes a new instance of the SafariDriverCommandExecutor class.
public SafariDriverCommandExecutor(int port, string safariLocation)
Parameters
port
intThe port on which the executor communicates with the extension.
safariLocation
stringThe location of the Safari executable
Methods
Dispose()
Releases all resources used by the SafariDriverCommandExecutor.
public void Dispose()
Dispose(bool)
Releases all resources associated with this SafariDriverCommandExecutor.
protected virtual void Dispose(bool disposing)
Parameters
Execute(Command)
Executes a command
public Response Execute(Command commandToExecute)
Parameters
commandToExecute
CommandThe command you wish to execute
Returns
- Response
A response from the browser
Start()
Starts the command executor.
public void Start()