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.
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:
- 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 on its own.
- To use the Appium methods on Element, you need to specify the parameter of
AppiumDriveror its subclasses.
- Open with Xamarin
Run tests in test/specs
- Open with Rider
- From the menu
Build -> Rebuild Solution
- Run tests in Appium.Net.Integration.Tests
- 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 new new version number and release details, then check it in
- pull new code
NuGet pack appium-dotnet-driver.nuspec
NuGet push Appium.WebDriver.<version>.nupkg