Appium.WebDriver 7.2.0

dotnet add package Appium.WebDriver --version 7.2.0
                    
NuGet\Install-Package Appium.WebDriver -Version 7.2.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Appium.WebDriver" Version="7.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Appium.WebDriver" Version="7.2.0" />
                    
Directory.Packages.props
<PackageReference Include="Appium.WebDriver" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Appium.WebDriver --version 7.2.0
                    
#r "nuget: Appium.WebDriver, 7.2.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Appium.WebDriver&version=7.2.0
                    
Install Appium.WebDriver as a Cake Addin
#tool nuget:?package=Appium.WebDriver&version=7.2.0
                    
Install Appium.WebDriver as a Cake Tool

appium-dotnet-client

Nuget (with prereleases) Build and deploy NuGet package NuGet Downloads

Build Status

Help Wanted

License

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.

Compatibility Matrix

The Appium .NET Client depends on Selenium .NET binding, thus the Selenium .NET binding update might affect the Appium .NET Client behavior. For example, some changes in the Selenium binding could break the Appium client.

Appium .NET Client Selenium Binding .NET Version
7.0.0 4.27.0 .NET Standard 2.0, .NET 6.0
6.0.0 4.25.0 .NET Standard 2.0, .NET 6.0
5.1.0 4.23.0 .NET 6.0, .NET Framework 4.8
5.0.0 4.0.0 - 4.22.0 .NET 6.0, .NET Framework 4.8
4.4.5 3.141.0 .NET Standard 2.0, .NET Framework 4.8

v5

Appium server compatibility for v5.x

[!IMPORTANT] In case you are using the latest beta client v5.x please be aware you will either have to upgrade your appium server to 2.x or add the base-path argument: appium --base-path=/wd/hub, due to a breaking change on the default server base path. <br/> Regardless, moving to appium 2.x is highly recommended since appium 1.x is no longer maintained. <br/> For more details about how to migrate to 2.x, see the following link : appium 2.x migrating

Additional Information

W3C Actions: https://www.selenium.dev/documentation/webdriver/actions_api <br/> App management: Please read issue #15807 for more details

Migration Guide to W3C actions

  using OpenQA.Selenium.Interactions;
  
  var touch = new PointerInputDevice(PointerKind.Touch, "finger");
  var sequence = new ActionSequence(touch);
  var move = touch.CreatePointerMove(elementToTouch, elementToTouch.Location.X, elementToTouch.Location.Y,TimeSpan.FromSeconds(1));
  var actionPress = touch.CreatePointerDown(MouseButton.Touch);
  var pause = touch.CreatePause(TimeSpan.FromMilliseconds(250));
  var actionRelease = touch.CreatePointerUp(MouseButton.Touch);
 
  sequence.AddAction(move);
  sequence.AddAction(actionPress);
  sequence.AddAction(pause);
  sequence.AddAction(actionRelease);
  
  var actions_seq = new List<ActionSequence>
  {
      sequence
  };
 
  _driver.PerformActions(actions_seq);

WinAppDriver Notice!

[!WARNING] Because WinAppDriver has been abandoned by MS, running Appium dotnet-client 5.x with WAD will not work since it has not been updated to support the W3C protocol. <br/> To run appium on Windows Applications, you will need to use appium-windows-driver which will act as a proxy to WAD. Examples of running Windows Applications with dotnet-client can be found here: windows Integration test 5.0.0 <br/> Regardless, feel free to open an issue on the WAD repository that will help get MS to open-source that project.

NuGet

NuGet Package

Dependencies:

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.

Usage

basics

  • 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 default to Appium values, and the driver does not know how to start the Appium independently.
  • To use the Appium methods on Element, specify the parameter of AppiumDriver or its subclasses.

Read Wiki

See samples here

Dev Build+Test

Xamarin/Mono

  • 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, RELEASE_NOTES.md, and appium-dotnet-driver.nuspec with the 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
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (81)

Showing the top 5 NuGet packages that depend on Appium.WebDriver:

Package Downloads
Gravity.Services.DataContracts

Data Contracts (DTOs) for all Gravity API Products.

Gravity.Drivers.Mock

Mock implementation of IWebDriver which does not open a browser, for high performance testing of Selenium based frameworks, without a dependency on browsers and web drivers.

Gravity.Extensions

Extensions package for Gravity API products line.

Gravity.Abstraction

Gravity API, Web Driver abstraction. Allows to create any type and or combination of Web Driver, using a simple API abstraction which can also be send over HTTP.

Saucery2

Sourcery for SauceLabs - Unlocking SauceLabs capability.

GitHub repositories (22)

Showing the top 20 popular GitHub repositories that depend on Appium.WebDriver:

Repository Stars
microsoft/PowerToys
Windows system utilities to maximize productivity
files-community/Files
A modern file manager that helps users organize their files and folders.
AvaloniaUI/Avalonia
Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The most popular .NET UI client technology
dotnet/maui
.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
xamarin/Xamarin.Forms
Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
t1m0thyj/WinDynamicDesktop
Port of macOS Mojave Dynamic Desktop feature to Windows
microsoft/WinAppDriver
Windows Application Driver
microsoft/devhome
The new Dev Home experience for Windows!
dotnet/maui-samples
Samples for .NET Multi-Platform App UI (.NET MAUI)
cyanfish/naps2
Scan documents to PDF and more, as simply as possible.
microsoft/WinUI-Gallery
This app demonstrates the controls available in WinUI and the Fluent Design System.
hitchao/Jvedio
Jvedio 是本地视频管理软件,支持扫描本地视频并导入软件,建立视频库, 提取出视频的 唯一识别码,自动分类视频, 添加标签管理视频,使用人工智能识别演员,支持翻译信息, 基于 FFmpeg 截取视频图片,Window 桌面端流畅美观的应用软件
AvaloniaUI/Avalonia.Samples
Avalonia.Samples aims to provide some minimal samples focusing on a particular issue at a time. This should help getting new users started.
VladislavAntonyuk/MauiSamples
.NET MAUI Samples
AutomateThePlanet/AutomateThePlanet-Learning-Series
Automate The Planet Series Source Code
SuperStudio/SuperCom
SuperCom 是一款串口调试工具
microsoft/accessibility-insights-windows
Accessibility Insights for Windows
axzxs2001/Asp.NetCoreExperiment
原来所有项目都移动到**OleVersion**目录下进行保留。新的案例装以.net 5.0为主,一部分对以前案例进行升级,一部分将以前的工作经验总结出来,以供大家参考!
microsoft/devhomegithubextension
Dev Home GitHub Extension
azchohfi/LottieUWP
UWP port of Lottie(https://github.com/airbnb/lottie-android)
Version Downloads Last updated
7.2.0 18,460 3/16/2025
7.1.0 20,475 2/15/2025
7.0.0 59,691 12/27/2024
6.0.1 82,402 11/15/2024
6.0.0 52,667 10/19/2024
5.2.0 94,583 9/15/2024
5.1.0 204,992 7/28/2024
5.0.0 102,269 6/15/2024
5.0.0-rc.8 29,653 4/26/2024
5.0.0-rc.7 47,999 3/29/2024
5.0.0-rc.6 24,906 3/3/2024
5.0.0-rc.5 49,504 1/26/2024
5.0.0-rc.4 54,491 12/29/2023
5.0.0-rc.3 3,013 12/24/2023
5.0.0-rc.2 188,948 11/16/2023
5.0.0-rc.1 101,431 9/6/2023
5.0.0-beta04 228,025 4/29/2023
5.0.0-beta03 178,146 1/6/2023
5.0.0-beta02 81,050 10/26/2022
5.0.0-beta01 360,504 10/21/2021
5.0.0-alpha2 79,555 10/19/2021
5.0.0-alpha 9,387 10/15/2021
4.4.5 1,012,514 5/5/2023
4.4.0 511,875 10/26/2022
4.3.2 394,966 7/4/2022
4.3.1 5,665,828 1/14/2021
4.3.0 15,367 1/14/2021
4.2.1 1,094,221 9/19/2020
4.2.0 60,027 9/13/2020
4.1.1 1,871,605 11/19/2019
4.1.0 41,012 11/14/2019
4.0.0.6-beta 267,573 4/15/2019
4.0.0.5-beta 64,842 1/26/2019
4.0.0.4-beta 222,956 10/15/2018
4.0.0.3-beta 4,779 10/1/2018
4.0.0.2-beta 2,075 9/22/2018
4.0.0.1-beta 57,604 1/15/2018
4.0.0 253,533 9/2/2019
3.0.0.2 1,950,979 2/5/2017
3.0.0.1 117,387 1/5/2017
2.0.1.1 33,485 9/2/2016
2.0.0.1 13,543 7/23/2016
1.5.1.1 136,305 3/20/2016
1.5.0.1 49,353 1/5/2016
1.4.1.1 31,312 11/17/2015
1.4.0.3 64,080 8/14/2015
1.4.0.2 12,782 8/4/2015
1.3.0.1 13,486 6/19/2015
1.2.0.8 42,501 1/13/2015
1.2.0.7 2,734 1/5/2015
1.2.0.6 3,133 12/3/2014
1.2.0.5 11,424 9/25/2014
1.2.0.4 45,149 9/17/2014
1.2.0.1 8,339 7/8/2014
1.0.0 2,923 6/6/2014
0.3.0 2,320 6/3/2014
0.2.0 3,158 4/27/2014
0.1.0 69,833 4/18/2014