An example of jest, selenium-webdriver and winappdriver integration
WinAppDriver is a service to support Selenium-like UI Test Automation on Windows Applications. selenium-webdriver is the offical WebDriver Javascript binding from selenium project. selenium-appium is selenium-webdriver extension to make selenium-webdriver to drive Appium to run automation for native, hybrid and mobile web and desktop apps.
- Windows machine
- Nodejs and Yarn
- Install packages
yarn install
- Launch WinAppDriver or YWinAppDriver.
npx winappdriver
or npx ywinappdriver
WinAppDriver is supported by Microsoft. YWinAppDriver is an open source project which implemented WinAppDriver's functionality, and is developed by Canhua Li
- Run the test.
yarn run jest
To know more about how to integrate JavaScript test runner and WinAppDriver for UI automation, please refer to:
-
WinAppDriver + WebDriverIO example. Example to demostrate WinAppDriver and WebDriver integration without appium dependency
-
E2E test on React Native for Windows. MoreAboutE2ETest.md provides some background why React Native Windows choose WinAppDriver and node test runner for E2E testing.
-
winappdriver-js-webdriver-example, Which includes:
- Jest + selenium-webdriver + WinAppDriver
- Jasmine + WebDriverIO + WinAppDriver
-
selenium-webdriver-winappdriver-example. An example of jest, selenium-webdriver and winappdriver integration
-
selenium-appium. selenium-appium is selenium-webdriver extension to make selenium-webdriver to drive Appium to run automation for native, hybrid and mobile web and desktop apps.
-
Choose the right E2E automation framework for React Native Windows
-
How to: Use Jest + selenium-webdriver + WinAppDriver to do Windows UI testing
-
Automated Windows UI testing by Jest + selenium-appium + selenium-webdriver + WinAppDriver
-
Inspecting UI Elements for WinAppDriver automation using Appium Desktop