Skip to content
Go to file

Latest commit

…tatements (#410)

* Added builder pattern helper for UiSelector and UiScrollable types

This makes it easier to correctly discover and build correct selector statements
when using UiAutomator.

* added license notice to all new code files

* renamed method Compile to Build

* committing file which was missed on last refactor

* added remaining methods for the uiscrollable class and reworked some return types to prevent incorrect call chaining

* added missing method on uiselector

* added basic unit tests for both uiselector and uiscrollable

* fixed incorrect statement generation in uiselector

* added basic null and non-negative guard clauses to all new builder methods

* fixed minor typo

* refactored null guards to utilize shorter syntax

* created central class to handle guard clauses

refactored uiautomator builder classes to use the new guard clauses

* in-lined more guard clauses

* added missing class summary

* created function for appending a terminal statement to reduce duplication

* added integration test for using line breaks to find elements using the AndroidUiSelector

* added integration test to ensure we can handle double quotes when searching for elements using AndroidUiSelector

Git stats


Failed to load latest commit information.


NuGet version NuGet Downloads

Build Status

This driver is an extension of the Selenium C# client. It has all the functionalities of the regular driver, but add Appium specific methods on top of this.


NuGet Package:


Note: we will NOT publish a signed version of this assembly since the dependencies we access through NuGet do not have a signed version - thus breaking the chain and causing us headaches. With that said, you are more than welcome to download the code and build a signed version yourself.



  • You need to add the following namespace line: using OpenQA.Selenium.Appium;.
  • Use the AppiumDriver class/subclass to construct the driver. It works the same as the Selenium Webdriver, except that the ports are defaulted to Appium values, and the driver does not know how to start the Appium on its own.
  • To use the Appium methods on Element, you need to specify the parameter of AppiumDriver or its subclasses.

Read Wiki

See samples here

Dev Build+Test


  • Open with Xamarin
  • Rebuild all
  • Run tests in test/specs

JetBrains Rider

  • Open with Rider
  • From the menu Build -> Rebuild Solution
  • Run tests in Appium.Net.Integration.Tests

Visual studio

Nuget Deployment (for maintainers)

To Setup Nuget

  • Download Nuget exe.
  • Setup the Api Key (see here).
  • alias NuGet='mono <Nuget Path>/NuGet.exe'

To Release a New Version

  • update assemblyInfo.cs,, and appium-dotnet-driver.nuspec with new new version number and release details, then check it in
  • pull new code
  • Rebuild All with Release target.
  • NuGet pack appium-dotnet-driver.nuspec
  • NuGet push Appium.WebDriver.<version>.nupkg
You can’t perform that action at this time.