Appium.WebDriver 5.0.0
appium-dotnet-client
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.
v5 Release Candidate
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.
Regardless, moving to appium 2.x is highly recommended since appium 1.x is no longer maintained.
For more details about how to migrate to 2.x, see the following link : appium 2.x migrating
Deprecated Methods
Caution
MultiActionandTouchActionare deprecated. Please use W3C WebDriver actions or mobile: extensions.LaunchApp,CloseApp, andresetare deprecated, please read each deprecation message as an alternative method.- The
ReplaceValuemethod is deprecated and will be removed in future versions. Please use the following command extensions: 'mobile: replaceElementValue' instead. - The
SetImmediateValuemethod is deprecated and will be removed in future versions. Please use 'SendKeys' instead.
Additional Information
W3C Actions: https://www.selenium.dev/documentation/webdriver/actions_api
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.
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
Regardless, feel free to open an issue on the WAD repository that will help get MS to open-source that project.
NuGet
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
AppiumDriverclass/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 independently. - To use the Appium methods on Element, you need to specify the parameter of
AppiumDriveror its subclasses.
Dev Build+Test
Xamarin/Mono
- Open with Xamarin
Rebuild allRun tests in test/specs
JetBrains Rider
- Open with Rider
- From the menu
Build -> Rebuild Solution - Run tests in Appium.Net.Integration.Tests
Visual Studio
- Open with Visual Studio
- build solution
Nuget Deployment (for maintainers)
To Setup Nuget
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 AllwithReleasetarget.NuGet pack appium-dotnet-driver.nuspecNuGet push Appium.WebDriver.<version>.nupkg
Showing the top 20 packages that depend on Appium.WebDriver.
| Packages | Downloads |
|---|---|
|
Legerity.Core
This package is the core framework for speeding up the development of automated UI tests with Selenium/Appium including:
- Page Object Pattern classes, for providing the base framework to build maintainable UI tests
- AppManager, for configuring, launching, and managing the lifecycle of the application driver
- ElementWrapper, for providing a base to build custom element wrappers for platform-specific elements
- ByExtras, for providing additional locator constraints for finding elements
|
20 |
|
Legerity.Core
This package is the core framework for speeding up the development of automated UI tests with Selenium/Appium including:
- Page Object Pattern classes, for providing the base framework to build maintainable UI tests
- AppManager, for configuring, launching, and managing the lifecycle of the application driver
- ElementWrapper, for providing a base to build custom element wrappers for platform-specific elements
- ByExtras, for providing additional query constraints for finding elements
|
19 |
|
Legerity.Core
This package is the core framework for speeding up the development of automated UI tests with Selenium/Appium including:
- Page Object Pattern classes, for providing the base framework to build maintainable UI tests
- AppManager, for configuring, launching, and managing the lifecycle of the application driver
- ElementWrapper, for providing a base to build custom element wrappers for platform-specific elements
- ByExtras, for providing additional locator constraints for finding elements
|
18 |
|
Legerity.Core
This package is the core framework for speeding up the development of automated UI tests with Selenium/Appium including:
- Page Object Pattern classes, for providing the base framework to build maintainable UI tests
- AppManager, for configuring, launching, and managing the lifecycle of the application driver
- ElementWrapper, for providing a base to build custom element wrappers for platform-specific elements
|
17 |
|
Legerity.Core
This package is the core framework for speeding up the development of automated UI tests with Selenium/Appium including:
- Page Object Pattern classes, for providing the base framework to build maintainable UI tests
- AppManager, for configuring, launching, and managing the lifecycle of the application driver
- ElementWrapper, for providing a base to build custom element wrappers for platform-specific elements
- ByExtras, for providing additional locator constraints for finding elements
|
17 |
|
Legerity.Core
This package is the core framework for speeding up the development of automated UI tests with Selenium/Appium including:
- Page Object Pattern classes, for providing the base framework to build maintainable UI tests
- AppManager, for configuring, launching, and managing the lifecycle of the application driver
- ElementWrapper, for providing a base to build custom element wrappers for platform-specific elements
- ByExtras, for providing additional query constraints for finding elements
|
16 |
|
Legerity.Core
This package is the core framework for speeding up the development of automated UI tests with Selenium/Appium including:
- Page Object Pattern classes, for providing the base framework to build maintainable UI tests
- AppManager, for configuring, launching, and managing the lifecycle of the application driver
- ElementWrapper, for providing a base to build custom element wrappers for platform-specific elements
- ByExtras, for providing additional locator constraints for finding elements
|
16 |
|
Legerity.Core
This package is the core framework for speeding up the development of automated UI tests with Selenium/Appium including:
- Page Object Pattern classes, for providing the base framework to build maintainable UI tests
- AppManager, for configuring, launching, and managing the lifecycle of the application driver
- ElementWrapper, for providing a base to build custom element wrappers for platform-specific elements
- ByExtras, for providing additional query constraints for finding elements
|
15 |
|
Legerity.Core
This package is the core framework for speeding up the development of automated UI tests with Selenium/Appium including:
- Page Object Pattern classes, for providing the base framework to build maintainable UI tests
- AppManager, for configuring, launching, and managing the lifecycle of the application driver
- ElementWrapper, for providing a base to build custom element wrappers for platform-specific elements
- ByExtras, for providing additional locator constraints for finding elements
|
14 |
|
Legerity.Core
This package is the core framework for speeding up the development of automated UI tests with Selenium/Appium including:
- Page Object Pattern classes, for providing the base framework to build maintainable UI tests
- AppManager, for configuring, launching, and managing the lifecycle of the application driver
- ElementWrapper, for providing a base to build custom element wrappers for platform-specific elements
- ByExtras, for providing additional locator constraints for finding elements
|
13 |
|
Legerity.Core
This package is the core framework for speeding up the development of automated UI tests with Selenium/Appium including:
- Page Object Pattern classes, for providing the base framework to build maintainable UI tests
- AppManager, for configuring, launching, and managing the lifecycle of the application driver
- ElementWrapper, for providing a base to build custom element wrappers for platform-specific elements
- ByExtras, for providing additional query constraints for finding elements
|
13 |
.NET Framework 4.8
- Selenium.Support (>= 4.21.0)
- Selenium.WebDriver (>= 4.21.0)
- System.Drawing.Common (>= 8.0.6)
.NET 6.0
- Selenium.Support (>= 4.21.0)
- Selenium.WebDriver (>= 4.21.0)
- System.Drawing.Common (>= 8.0.6)
| Version | Downloads | Last updated |
|---|---|---|
| 9.0.0 | 13 | 09/23/2026 |
| 8.4.0 | 10 | 09/14/2026 |
| 8.3.2 | 21 | 07/19/2026 |
| 8.3.1 | 21 | 07/07/2026 |
| 8.3.0 | 18 | 06/28/2026 |
| 8.2.0 | 30 | 04/04/2026 |
| 8.1.0 | 24 | 02/13/2026 |
| 8.0.1 | 29 | 10/19/2025 |
| 8.0.0 | 21 | 08/17/2025 |
| 7.2.0 | 21 | 06/19/2025 |
| 7.1.0 | 24 | 02/21/2025 |
| 7.0.0 | 23 | 01/04/2025 |
| 6.0.1 | 23 | 11/17/2024 |
| 6.0.0 | 20 | 11/17/2024 |
| 5.2.0 | 26 | 09/17/2024 |
| 5.1.0 | 24 | 08/03/2024 |
| 5.0.0 | 26 | 06/25/2024 |
| 5.0.0-rc.8 | 25 | 05/06/2024 |
| 5.0.0-rc.7 | 18 | 06/25/2026 |
| 5.0.0-rc.6 | 16 | 06/25/2026 |
| 5.0.0-rc.5 | 26 | 01/29/2024 |
| 5.0.0-rc.4 | 21 | 06/25/2026 |
| 5.0.0-rc.3 | 20 | 06/25/2026 |
| 5.0.0-rc.2 | 25 | 12/12/2023 |
| 5.0.0-rc.1 | 16 | 01/08/2024 |
| 5.0.0-beta04 | 20 | 01/09/2024 |
| 5.0.0-beta03 | 20 | 01/09/2024 |
| 5.0.0-beta02 | 22 | 01/09/2024 |
| 5.0.0-beta01 | 20 | 01/09/2024 |
| 5.0.0-alpha2 | 23 | 01/08/2024 |
| 5.0.0-alpha | 21 | 01/09/2024 |
| 4.4.5 | 31 | 01/07/2024 |
| 4.4.0 | 24 | 01/07/2024 |
| 4.3.2 | 21 | 01/07/2024 |
| 4.3.1 | 30 | 01/06/2024 |
| 4.3.0 | 21 | 01/05/2024 |
| 4.2.1 | 31 | 12/30/2023 |
| 4.2.0 | 19 | 01/06/2024 |
| 4.1.1 | 20 | 01/04/2024 |
| 4.1.0 | 25 | 01/04/2024 |
| 4.0.0.6-beta | 20 | 01/09/2024 |
| 4.0.0.5-beta | 21 | 01/09/2024 |
| 4.0.0.4-beta | 22 | 01/09/2024 |
| 4.0.0.3-beta | 28 | 01/09/2024 |
| 4.0.0.2-beta | 26 | 01/09/2024 |
| 4.0.0.1-beta | 26 | 01/09/2024 |
| 4.0.0 | 25 | 01/05/2024 |
| 3.0.0.2 | 19 | 01/08/2024 |
| 3.0.0.1 | 20 | 01/04/2024 |
| 2.0.1.1 | 21 | 01/04/2024 |
| 2.0.0.1 | 20 | 01/05/2024 |
| 1.5.1.1 | 25 | 01/08/2024 |
| 1.5.0.1 | 21 | 01/08/2024 |
| 1.4.1.1 | 16 | 01/04/2024 |
| 1.4.0.3 | 19 | 01/08/2024 |
| 1.4.0.2 | 18 | 01/08/2024 |
| 1.3.0.1 | 20 | 01/05/2024 |
| 1.2.0.8 | 17 | 01/08/2024 |
| 1.2.0.7 | 24 | 01/08/2024 |
| 1.2.0.6 | 15 | 01/08/2024 |
| 1.2.0.5 | 26 | 01/08/2024 |
| 1.2.0.4 | 16 | 01/08/2024 |
| 1.2.0.1 | 29 | 01/05/2024 |
| 1.0.0 | 21 | 01/04/2024 |
| 0.3.0 | 28 | 01/07/2024 |
| 0.2.0 | 28 | 01/07/2024 |
| 0.1.0 | 27 | 12/29/2023 |