Appium.WebDriver 4.0.0.2-beta

Selenium Webdriver extension for Appium.

This is a prerelease version of Appium.WebDriver.
There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package Appium.WebDriver -Version 4.0.0.2-beta
dotnet add package Appium.WebDriver --version 4.0.0.2-beta
<PackageReference Include="Appium.WebDriver" Version="4.0.0.2-beta" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Appium.WebDriver --version 4.0.0.2-beta
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

4.0.0.2-beta
         [BREAKING CHANGE] Move to Dotnet Standard with the exception of PageFactory.
         [BREAKING CHANGE] Replace DesiredCapabilities with AppiumOptions and AppiumCapablilities.
         [UPDATES]:
         - Selenium.Support was updated 3.14.0
         - Selenium.WebDriver was updated 3.14.0

           4.0.0.1-beta
           [Enhancement] The searching by ios class chain was implemented.
           [Enhancement] Details of a session. Interface `IHasSessionDetails` and its implementation.
           [BUG FIX] Fix of the `LongPress` action parameters.
           [BREAKING CHANGE] Unnecessary interface `ITouchShortcuts` was removed.
           [BREAKING CHANGE] Deprecated gesture methods were removed.
           [UPDATES]:
           - Newtonsoft.Json was updated to 10.0.3
           - Selenium.Support was updated 3.8.0
           - Selenium.WebDriver was updated 3.8.0
           - Castle.Core was updated to 4.2.1
           
           3.0.0.2
           [Refactor] The obsolete interface OpenQA.Selenium.Appium.Android.Interfaces.ISendsKeyEvents was removed
           [Refactor] The obsolete interface OpenQA.Selenium.Appium.iOS.Interfaces.IIOSHidesKeyboard was removed
           [Enhancement] The new `YouiEngine` automation type was added to the
           OpenQA.Selenium.Appium.Enums.AutomationName
           [BUG FIX] The issue that was preventing the overriding of the Execute method was fixed.
           
           3.0.0.1
           [Major update] Update to Selenium 3.0.1
           [Major enhancement] Windows automation:
           - OpenQA.Selenium.Appium.Interfaces.IFindByWindowsUIAutomation was added.
           - OpenQA.Selenium.Appium.Windows.WindowsDriver was added.
           - OpenQA.Selenium.Appium.Windows.WindowsElement was added.
           - OpenQA.Selenium.Appium.Windows.Enums.WindowsKeyCode was added.

           [Major enhancement] API redesign
           - OpenQA.Selenium.Appium.Android.Interfaces.ISendsKeyEvents was marked obsolete.
           - Appium.Interfaces.ISendsKeyEvents was added. It is implemented by AndroidDriver and WindowsDriver.
           - OpenQA.Selenium.Appium.iOS.Interfaces.IIOSHidesKeyboard was marked obsolete.
           - OpenQA.Selenium.Appium.Interfaces.IHidesKeyboardWithKeyName was added. It extends
           OpenQA.Selenium.Appium.Interfaces.IHidesKeyboard and it is implemented by IOSDriver and WindowsDriver.
           - OpenQA.Selenium.Appium.Android.Interfaces.IHasSettings was added. It is implemented by AndroidDriver. Also
           the OpenQA.Selenium.Appium.Android.Enims.AutomatorSetting was provided.
           - OpenQA.Selenium.Appium.iOS.Interfaces.IPerformsTouchID was added. It is implemented by IOSDriver.
           - almost all interfaces extend the OpenQA.Selenium.Appium.Interfaces.IExecuteMethod

           - Command execution helpers:
           - OpenQA.Selenium.Appium.AppiumCommandExecutionHelper was added.
           - OpenQA.Selenium.Appium.Android.AndroidCommandExecutionHelper was added.
           - OpenQA.Selenium.Appium.iOS.IOSCommandExecutionHelper was added.

           These classes consist of static methods which accept IExecuteMethod as one of parameters.


           [Major enhancement] Now the OpenQA.Selenium.Appium.AppiumDriver can use an instance of any
           OpenQA.Selenium.Appium.MobileBy subclass for the searching.
           It should work as expected when current session supports the given selector.
           [Major enhancement] The new interface OpenQA.Selenium.Appium.Interfaces.IFindsByFluentSelector was added. It
           is implemented by OpenQA.Selenium.Appium.AppiumDriver.
           [Major enhancement] The new interface OpenQA.Selenium.Appium.Interfaces.IFindsByIosNSPredicate was added.
           [Major enhancement] The new By-selector OpenQA.Selenium.Appium.ByWindowsAutomation was added.
           [Major enhancement] The new By-selector OpenQA.Selenium.Appium.ByIosNSPredicate was added.
           [Enhancement]. The method Response Execute(string) was added to
           OpenQA.Selenium.Appium.Interfaces.IExecuteMethod. It is implemented by OpenQA.Selenium.Appium.AppiumDriver.
           [Enhancement]. New automation types were added:
           - OpenQA.Selenium.Appium.Enums.AutomationName.iOSXcuiTest
           - OpenQA.Selenium.Appium.Enums.AutomationName.AndroidUIAutomator2

           2.0.1.1
           All obsolete code was removed.
           Following capabilities were added:
           - OpenQA.Selenium.Appium.Enums.AndroidMobileCapabilityType.AndroidInstallTimeout
           - OpenQA.Selenium.Appium.Enums.AndroidMobileCapabilityType.NativeWebScreenshot
           - OpenQA.Selenium.Appium.Enums.AndroidMobileCapabilityType.AndroidScreenshotPath
           - OpenQA.Selenium.Appium.Enums.AndroidMobileCapabilityType.AppWaitDuration.
           The new interface OpenQA.Selenium.Appium.Interfaces.IExecuteMethod was added.

           2.0.0.1
           All obsolete code was removed. #C client won't support Appium server v lower than 1.5.0
           Source code migration to C# 6.0. Now this bundle requires .Net Framework > v4.5 or Mono Framework version
           which supports .Net Framework v4.5 with Lang Level 6.
           Update to Selenium.Webdriver v2.53.1 and Selenium.Support v2.53.1.
           Update to Newtonsoft.Json v9.0.1.
           Re-design of mobile searching strategies:
           - The class OpenQA.Selenium.Appium.MobileBy was added.
           - Classes ByAccessibilityId, ByAndroidUIAutomator, ByIosUIAutomation were grouped by the new class.
           - Static methods that create instances of ByAccessibilityId, ByAndroidUIAutomator, ByIosUIAutomation were
           added.
           The method public W GetNamedTextField(String name) was marked obsolete. It is going to be removed.
           ScrollTo() and ScrollToExact() became deprecated. They are going to be removed in the next release. The
           swiping action and OpenQA.Selenium.Appium.ByAndroidUIAutomator or
           OpenQA.Selenium.Appium.ByIosUIAutomation are recommended to use instead.
           Server flags were added:
           - GeneralOptionList.AsyncTrace
           - IOSOptionList.WebkitDebugProxyPort
           The SessionDetails property was added. This property returns a dictionary of the current session data.
           FIX of the pinch/zoom issue. This change is supposed to be the temporary workaround. We are searching for a
           more convenient solution.
           It seems it requires some changes on the server side.
           FIX of the swiping issue (iOS, server version >= 1.5.0). Now the swiping is implemented differently by
           AndroidDriver and IOSDriver.
           the ability to start an activity using Android intent actions, intent categories, flags and arguments was
           added to OpenQA.Selenium.Appium.Android.AndroidDriver.
           The StartActivityWithIntent method.
           [Android] ability to push a common string as a file to the remote mobile device. The method was redesigned.
           [Android] ability to push base64 encoded bytes as a file to the remote mobile device. The method was added.
           [Android] ability to push a file as the file to the remote mobile device. The method was added.
           Constructors like AppiumDriver(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities) were
           added to OpenQA.Selenium.Appium.Android.AndroidDriver and OpenQA.Selenium.Appium.iOS.IOSDriver. Also
           OpenQA.Selenium.Appium.AppiumCommand became public. The binding of these features may allow to use realated
           solutions of other vendors/modified Appium server builds which support JSONWP commands
           that default Appium/Selenium do not support.
           The SetImmediateValue method was moved to OpenQA.Selenium.Appium.AppiumWebElement. It works against text
           input elements on Android.

           1.5.1.1
           Update to Selenium.Webdriver v2.53.0 and Selenium.Support v2.53.0
           Update to Newtonsoft.Json v8.0.2
           FIXED The issue of compatibility of AppiumServiceBuilder with Appium node server v >= 1.5.x.
           Page object tools were updated. By.Name locator strategy is deprecated for Android and iOS. It is still
           valid for the Selendroid mode.
           The DeviceTime property was added and it works with Appium node 1.5
           improvements of locking methods. The LockDevice(seconds) is obsolete and it is going to be removed in the
           next release. Since Appium node server v1.5.x it is recommended to use
           AndroidDriver.Lock()()...AndroidDriver.Unlock() or IOSDriver.Lock(int seconds) instead.
           AndroidDriver.KeyEvent() is obsolete and it is going to be removed soon. Please use
           AndroidDriver.PressKeyCode or AndroidDriver.LongPressKeyCode instead.
           The GetAppStrings(string language = null) method is obsolete now. It is going to be removed.
           The GetAppStringDictionary(string language = null, string stringFile = null) was added instead. It returns a
           dictionary with app strings (keys and values) instead of a string. Also it allows the searching app strings
           in the specified file.
           All capabilities were added according to
           https://github.com/appium/appium/blob/1.5/docs/en/writing-running-appium/caps.md. There are three classes:
           OpenQA.Selenium.Appium.Enums.MobileCapabilityType (just modified),
           OpenQA.Selenium.Appium.Enums.AndroidMobileCapabilityType (android-specific capabilities),
           OpenQA.Selenium.Appium.Enums.IOSMobileCapabilityType (iOS-specific capabilities).
           Some server flags were marked as obsolete because they are deprecated since server node v1.5.x. These
           options are going to be removed at the next .Net client release.
           The ability to start Appium node programmatically using desired capabilities. This feature is compatible
           with Appium node server v >= 1.5.x.

           1.5.0.1
           Update to Selenium.Webdriver v2.48.2 and Selenium.Support v2.48.2
           The ability to start appium server programmatically was provided. The ICommandServer implementation
           (AppiumLocalService).
           The new boolean parameter of the AndroidDdriver.StartActivity method. It allows to start a new activity
           without closing of a target app.
           All possible key codes were added to AndroidKeyCode.
           The API refactoring.
           The "ReplaceValue" method was added to AndroidElement
           The "SetImmediateValue" was moved from the AppiumWebElement to IOSElement

           1.4.1.1
           Update to Selenium.Webdriver v2.48.1 and Selenium.Support v2.48.1
           .Net client is completely following the Apache 2.0 license now.
           IMobileElement implementations are able to perform gestures such as Pinch, Tap and Zoom.
           Constructor set of MultiAction and TouchAction was improved. Redundant constructors were removed.

           1.4.0.3
           the bug which prevented the using of TouchAction/MultiTouchActions with IWebElement was fixed. This problem
           is reproduced
           with IWebElement instances created via Selenium PageFactory.

           1.4.0.2
           features ported from the Java-Appium-Driver. Integration with Selenium PageFactory.

           1.3.0.1
           Generic AppiumDriver class/subclasses and fix for TryAddCommand.

           1.2.0.8
           Fix/Test for hide keyboard.

           1.2.0.7
           Separate android and ios drivers, improved namespaces, fixed tests, and redesigned methods and interfaces

           1.2.0.6
           Update Selenium NuGet Package to get fix for locator strategy.

           1.2.0.5
           Add GetSettings and IgnoreUnimportantViews methods.

           1.2.0.4
           Update version due to assembly not matching NuGet.

           1.2.0.3
           Update version due to NuGet Package mismanagement.

           1.2.0.2
           Update NuGet packages. Add IsLocked() and Start Activity.

           1.2.0.1
           Add Pull Folder, Android Input Methods (IME), and Network Connection Methods for use with Appium 1.2

           1.0.0
           TouchAction + multiActions rewriting,
           Project structure overhaul.

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

Repository Stars
xamarin/Xamarin.Forms
Xamarin.Forms Official Home
microsoft/WinAppDriver
Windows Application Driver
AutomateThePlanet/AutomateThePlanet-Learning-Series
Automate The Planet Series Source Code
azchohfi/LottieUWP
UWP port of Lottie(https://github.com/airbnb/lottie-android)
microsoft/Xaml-Controls-Gallery
This app demonstrates the controls available in the Fluent Design System and Xaml.
skimedic/presentations
Copy of my public presentations
microsoft/accessibility-insights-windows
Accessibility Insights for Windows

Version History

Version Downloads Last updated
4.0.0.6-beta 11,413 4/15/2019
4.0.0.5-beta 9,718 1/26/2019
4.0.0.4-beta 69,953 10/15/2018
4.0.0.3-beta 1,657 10/1/2018
4.0.0.2-beta 582 9/22/2018
4.0.0.1-beta 14,106 1/15/2018
3.0.0.2 636,375 2/5/2017
3.0.0.1 37,677 1/5/2017
2.0.1.1 16,011 9/2/2016
2.0.0.1 5,739 7/23/2016
1.5.1.1 39,689 3/20/2016
1.5.0.1 13,505 1/5/2016
1.4.1.1 13,367 11/17/2015
1.4.0.3 15,399 8/14/2015
1.4.0.2 9,708 8/4/2015
1.3.0.1 4,627 6/19/2015
1.2.0.8 14,816 1/13/2015
1.2.0.7 743 1/5/2015
1.2.0.6 1,031 12/3/2014
1.2.0.5 7,325 9/25/2014
1.2.0.4 20,922 9/17/2014
1.2.0.1 6,058 7/8/2014
1.0.0 963 6/6/2014
0.3.0 646 6/3/2014
0.2.0 1,045 4/27/2014
0.1.0 740 4/18/2014