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
Afficher le fichier Open project: krosenvold/selenium-git-release-candidate Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
GetAndroidCapabilities ( ) : DesiredCapabilities
GetDefaultUrl ( ) : Uri

Method Details

AndroidDriver() public méthode

Initializes a new instance of the AndroidDriver class.
public AndroidDriver ( ) : System
Résultat System

AndroidDriver() public méthode

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.
Résultat System

AndroidDriver() public méthode

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.
Résultat System

GetScreenshot() public méthode

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