Table of Contents

Class SafariDriverCommandExecutor

Namespace
OpenQA.Selenium.Safari
Assembly
WebDriver.dll

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 int

The 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 int

The port on which the executor communicates with the extension.

safariLocation string

The 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

disposing bool

true if the Dispose method was explicitly called; otherwise, false.

Execute(Command)

Executes a command

public Response Execute(Command commandToExecute)

Parameters

commandToExecute Command

The command you wish to execute

Returns

Response

A response from the browser

Start()

Starts the command executor.

public void Start()