1. Installation
-
Log on as Administrator.
-
Open PC settings with administrative privileges.
-
Select Update & Security.
-
Select For developers.
-
Choose Developer mode.
-
Click Yes to confirm.
-
Close PC settings.
-
Restart the computer.
-
Download the latest release from https://github.com/Microsoft/WinAppDriver/releases.
-
Double-click the WindowsApplicationDriver-1.1.msi file.
-
Click Next.
-
Check I accept the terms in the License Agreement.
-
Click Next.
C:\Program Files (x86)\Windows Application Driver
-
Click Next.
-
Click Install.
-
Click Finish.
2. Usage
-
Windows Application Driver needs Developer mode to be enabled.
-
Instead of enabling Developer mode permanently it is possible to adjust a registry key temporarily.
-
Also, there is no need to install Windows Application Driver.
-
Enter the following commands at a Command Prompt with administrative privileges.
set "Key=HKLM\Software\Microsoft\Windows\CurrentVersion\AppModelUnlock" reg query "%Key%" reg add "%Key%" /t REG_DWORD /v "AllowDevelopmentWithoutDevLicense" /d "1" /f reg query "%Key%" -
Enter the following commands at a Command Line.
cd C:\Program Files (x86)\Windows Application Driver WinAppDriver.exe -
Enter the following commands at a Command Prompt with administrative privileges.
reg delete "%Key%" /v "AllowDevelopmentWithoutDevLicense" /f reg query "%Key%"