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.
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.
- 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.
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
- Open with Visual Studio
- build solution
- update assemblyInfo.cs, RELEASE_NOTES.md, and appium-dotnet-driver.nuspec with new new version number and release details, then check it in
- pull new code
Rebuild All
withRelease
target.NuGet pack appium-dotnet-driver.nuspec
NuGet push Appium.WebDriver.<version>.nupkg