Table of Contents

Class AndroidOptions

Namespace
OpenQA.Selenium.Internal
Assembly
WebDriver.dll

Provides a base class for options for browsers to be automated on Android.

public class AndroidOptions
Inheritance
AndroidOptions
Derived
Inherited Members

Constructors

AndroidOptions(string)

Initializes a new instance of the AndroidOptions class.

protected AndroidOptions(string androidPackage)

Parameters

androidPackage string

Exceptions

ArgumentException

If androidPackage is null or Empty.

Properties

AndroidActivity

Gets or sets the name of the Activity hosting the app.

public string? AndroidActivity { get; set; }

Property Value

string

AndroidDeviceSerial

The serial number of the device on which to launch the application.

public string? AndroidDeviceSerial { get; set; }

Property Value

string

AndroidPackage

The package name of the application to automate.

public string AndroidPackage { get; }

Property Value

string