WinAppDriver + Selenium не запускается тест

Начинаю изучать автотестирование и наткнулся на такую проблему. Взял из примера тест калькулятора, попытался запустить у себя и ничего не получилось. Intellij Idea сразу ругается, как я понимаю, на то, что не запущен Selenium WebDriver. Но как я понял его запускать не нужно.

Вот собственно ошибка:

WinAppDriver нужно скачать и запускать

Installing and Running Windows Application Driver

  1. Download Windows Application Driver installer from Releases · microsoft/WinAppDriver · GitHub
  2. Run the installer on a Windows 10 machine where your application under test is installed and will be tested
  3. Enable Developer Mode in Windows settings
  4. Run WinAppDriver.exe from the installation directory (E.g. C:\Program Files (x86)\Windows Application Driver )

Проблема была в том, что WinAppDriver выдавал ошибку

Developer mode is not enabled. Enable it through Settings and restart Windows Application Driver
Failed to initialize: 0x80004005

Нашёл решение проблемы. Перед запуском exe в консоли выполнил

reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock” /t REG_DWORD /f /v “AllowDevelopmentWithoutDevLicense” /d “1”

И УРА драйвер запустился