SafariDriver MethodsWebDriver
The SafariDriver type exposes the following members.
Methods

  NameDescription
Public methodClose
Closes the Browser
(Inherited from RemoteWebDriver.)
Protected methodCreateElement
Creates a RemoteWebElement with the specified ID.
(Inherited from RemoteWebDriver.)
Public methodDispose 
Dispose the RemoteWebDriver Instance
(Inherited from RemoteWebDriver.)
Protected methodDispose(Boolean)
Stops the client from running
(Inherited from RemoteWebDriver.)
Public methodOnlineEquals
Determines whether the specified OnlineObject is equal to the current OnlineObject.
(Inherited from OnlineObject.)
Protected methodExecute
Executes a command with this driver .
(Inherited from RemoteWebDriver.)
Public methodExecuteAsyncScript
Executes JavaScript asynchronously in the context of the currently selected frame or window.
(Inherited from RemoteWebDriver.)
Public methodExecuteScript
Executes JavaScript in the context of the currently selected frame or window
(Inherited from RemoteWebDriver.)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodFindElement(By)
Finds the first element in the page that matches the By object
(Inherited from RemoteWebDriver.)
Protected methodFindElement(String, String)
Finds an element matching the given mechanism and value.
(Inherited from RemoteWebDriver.)
Public methodFindElementByClassName
Finds the first element in the page that matches the CSS Class supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementByCssSelector
Finds the first element matching the specified CSS selector.
(Inherited from RemoteWebDriver.)
Public methodFindElementById
Finds the first element in the page that matches the ID supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementByLinkText
Finds the first of elements that match the link text supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementByName
Finds the first of elements that match the name supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementByPartialLinkText
Finds the first of elements that match the part of the link text supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementByTagName
Finds the first of elements that match the DOM Tag supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementByXPath
Finds the first of elements that match the XPath supplied
(Inherited from RemoteWebDriver.)
Public methodFindElements(By)
Finds the elements on the page by using the By object and returns a ReadOnlyCollection of the Elements on the page
(Inherited from RemoteWebDriver.)
Protected methodFindElements(String, String)
Finds all elements matching the given mechanism and value.
(Inherited from RemoteWebDriver.)
Public methodFindElementsByClassName
Finds a list of elements that match the class name supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementsByCssSelector
Finds all elements matching the specified CSS selector.
(Inherited from RemoteWebDriver.)
Public methodFindElementsById
Finds the first element in the page that matches the ID supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementsByLinkText
Finds a list of elements that match the link text supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementsByName
Finds a list of elements that match the name supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementsByPartialLinkText
Finds a list of elements that match the class name supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementsByTagName
Finds a list of elements that match the DOM Tag supplied
(Inherited from RemoteWebDriver.)
Public methodFindElementsByXPath
Finds a list of elements that match the XPath supplied
(Inherited from RemoteWebDriver.)
Public methodOnlineGetHashCode
Serves as a hash function for a particular type.
(Inherited from OnlineObject.)
Public methodGetScreenshot
Gets a Screenshot object representing the image of the page on the screen.
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodManage
Method For getting an object to set the Speed
(Inherited from RemoteWebDriver.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodNavigate
Method to allow you to Navigate with WebDriver
(Inherited from RemoteWebDriver.)
Public methodQuit
Close the Browser and Dispose of WebDriver
(Inherited from RemoteWebDriver.)
Protected methodStartClient
Starts the command executor, enabling communication with the browser.
(Overrides RemoteWebDriver StartClient .)
Protected methodStartSession
Starts a session with the driver
(Inherited from RemoteWebDriver.)
Protected methodStopClient
Stops the command executor, ending further communication with the browser.
(Overrides RemoteWebDriver StopClient .)
Public methodSwitchTo
Method to give you access to switch frames and windows
(Inherited from RemoteWebDriver.)
Public methodOnlineToString
Returns a string that represents the current object.
(Inherited from OnlineObject.)
Back to Top
See Also