C# Класс 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.
Наследование: OpenQA.Selenium.Remote.RemoteWebDriver, ITakesScreenshot, IRotatable, IHasTouchScreen
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
GetAndroidCapabilities ( ) : DesiredCapabilities
GetDefaultUrl ( ) : Uri

Описание методов

AndroidDriver() публичный Метод

Initializes a new instance of the AndroidDriver class.
public AndroidDriver ( ) : System
Результат System

AndroidDriver() публичный Метод

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.
Результат System

AndroidDriver() публичный Метод

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.
Результат System

GetScreenshot() публичный Метод

Gets a Screenshot object representing the image of the page on the screen.
public GetScreenshot ( ) : Screenshot
Результат Screenshot