Class WinAppCapabilities

java.lang.Object
core.uiCore.driverProperties.capabilities.WinAppCapabilities

public class WinAppCapabilities extends Object
1. enable windows development mode https://docs.microsoft.com/en-us/windows/uwp/get-started/enable-your-device-for-development 2. Download Windows Application Driver installer from https://github.com/Microsoft/WinAppDriver/releases 3. Run the installer on a Windows 10 machine where your application under test is installed And will be tested 4. Run WinAppDriver.exe from the installation directory (E.g. C:\Program Files (x86)\Windows Application Driver) https://github.com/Microsoft/WinAppDriver
Author:
ehsan.matean
  • Field Details

    • WINAPP

      public static String WINAPP
    • capabilities

      public org.openqa.selenium.remote.DesiredCapabilities capabilities
  • Constructor Details

    • WinAppCapabilities

      public WinAppCapabilities()
  • Method Details

    • withCapability

      public WinAppCapabilities withCapability(org.openqa.selenium.remote.DesiredCapabilities Capabilities)
    • getCapability

      public org.openqa.selenium.remote.DesiredCapabilities getCapability()
    • withWinAppdCapability

      public WinAppCapabilities withWinAppdCapability()
      sets win app capabilities values are from maven or properties file maven has higher priority than properties
      Returns: