C# Class OpenQA.Selenium.Android.AndroidDriver

Provides a mechanism to write tests against an Android device
Using the Android driver requires the Android device or emulator to be running, and the WebDriver application be active on the device.
Inheritance: OpenQA.Selenium.Remote.RemoteWebDriver, ITakesScreenshot, IRotatable, IHasTouchScreen
Datei anzeigen Open project: krosenvold/selenium-git-release-candidate Class Usage Examples

Public Methods

Method Description
AndroidDriver ( ) : System

Initializes a new instance of the AndroidDriver class.

AndroidDriver ( Uri remoteAddress ) : System

Initializes a new instance of the AndroidDriver class, communicating with the device at a specific URL.

AndroidDriver ( string remoteAddress ) : System

Initializes a new instance of the AndroidDriver class, communicating with the device at a specific URL.

GetScreenshot ( ) : Screenshot

Gets a Screenshot object representing the image of the page on the screen.

Private Methods

Method Description
GetAndroidCapabilities ( ) : DesiredCapabilities
GetDefaultUrl ( ) : Uri

Method Details

AndroidDriver() public method

Initializes a new instance of the AndroidDriver class.
public AndroidDriver ( ) : System
return System

AndroidDriver() public method

Initializes a new instance of the AndroidDriver class, communicating with the device at a specific URL.
public AndroidDriver ( Uri remoteAddress ) : System
remoteAddress System.Uri The URL of the WebDriver application on the Android device.
return System

AndroidDriver() public method

Initializes a new instance of the AndroidDriver class, communicating with the device at a specific URL.
public AndroidDriver ( string remoteAddress ) : System
remoteAddress string The URL of the WebDriver application on the Android device.
return System

GetScreenshot() public method

Gets a Screenshot object representing the image of the page on the screen.
public GetScreenshot ( ) : Screenshot
return Screenshot