{"id":20503458,"url":"https://github.com/react-native-windows/selenium-webdriver-winappdriver-example","last_synced_at":"2025-10-23T23:08:33.101Z","repository":{"id":56425813,"uuid":"205076622","full_name":"react-native-windows/selenium-webdriver-winappdriver-example","owner":"react-native-windows","description":"An example of selenium-webdriver and winappdriver integration","archived":false,"fork":false,"pushed_at":"2020-11-29T08:05:52.000Z","size":11,"stargazers_count":11,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-07T15:08:03.659Z","etag":null,"topics":["automation-test","example","sample","selenium-automation","selenium-webdriver","winappdriver","windows"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/react-native-windows.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-29T03:56:04.000Z","updated_at":"2022-12-29T04:29:35.000Z","dependencies_parsed_at":"2022-08-15T18:30:53.852Z","dependency_job_id":null,"html_url":"https://github.com/react-native-windows/selenium-webdriver-winappdriver-example","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-windows%2Fselenium-webdriver-winappdriver-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-windows%2Fselenium-webdriver-winappdriver-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-windows%2Fselenium-webdriver-winappdriver-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-native-windows%2Fselenium-webdriver-winappdriver-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-native-windows","download_url":"https://codeload.github.com/react-native-windows/selenium-webdriver-winappdriver-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224835031,"owners_count":17377813,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation-test","example","sample","selenium-automation","selenium-webdriver","winappdriver","windows"],"created_at":"2024-11-15T19:31:27.969Z","updated_at":"2025-10-23T23:08:28.063Z","avatar_url":"https://github.com/react-native-windows.png","language":"TypeScript","readme":"# selenium-webdriver-winappdriver-example\nAn example of jest, selenium-webdriver and winappdriver integration\n\n[WinAppDriver](https://github.com/microsoft/WinAppDriver) is a service to support Selenium-like UI Test Automation on Windows Applications.\n[selenium-webdriver](https://seleniumhq.github.io/selenium/docs/api/javascript/) is the offical WebDriver Javascript binding from selenium project.\n[selenium-appium](https://github.com/react-native-windows/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.\n\n## Preparation\n1. Windows machine\n2. Nodejs and Yarn\n\n## Install and run the test\n- Install packages\n```yarn install```\n- Launch WinAppDriver or YWinAppDriver.\n\n`npx winappdriver` or `npx ywinappdriver`\n\n[WinAppDriver](https://github.com/microsoft/WinAppDriver) is supported by Microsoft.\n[YWinAppDriver](https://github.com/licanhua/YWinAppDriver) is an open source project which implemented WinAppDriver's functionality, and is developed by Canhua Li\n\n- Run the test. `yarn run jest`\n\n## Note\nTo know more about how to integrate JavaScript test runner and WinAppDriver for UI automation, please refer to:\n- [WinAppDriver + WebDriverIO example](https://github.com/licanhua/wdio-winappdriver-example). Example to demostrate WinAppDriver and WebDriver integration without appium dependency\n\n- [E2E test](https://github.com/microsoft/react-native-windows/blob/master/vnext/docs/E2ETest.md) on React Native for Windows. [MoreAboutE2ETest.md](https://github.com/microsoft/react-native-windows/blob/master/vnext/docs/MoreAboutE2ETest.md) provides some background why React Native Windows choose WinAppDriver and node test runner for E2E testing.\n\n- [winappdriver-js-webdriver-example](https://github.com/react-native-windows/winappdriver-js-webdriver-example), Which includes:\n1. Jest + selenium-webdriver + WinAppDriver\n2. Jasmine + WebDriverIO + WinAppDriver\n\n- [selenium-webdriver-winappdriver-example](https://github.com/react-native-windows/selenium-webdriver-winappdriver-example). \nAn example of jest, selenium-webdriver and winappdriver integration\n\n- [selenium-appium](https://github.com/react-native-windows/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.\n\n- [Choose the right E2E automation framework for React Native Windows](https://medium.com/@licanhua/choose-the-right-e2e-automation-framework-for-react-native-windows-83ade8b16b52)\n- [How to: Use Jest + selenium-webdriver + WinAppDriver to do Windows UI testing](https://medium.com/@licanhua/how-to-use-jest-selenium-webdriver-winappdriver-to-do-windows-ui-testing-c9d074e698ed)\n- [Automated Windows UI testing by Jest + selenium-appium + selenium-webdriver + WinAppDriver](https://medium.com/@licanhua/automated-windows-ui-testing-by-jest-selenium-appium-selenium-webdriver-winappdriver-6cb708121d71)\n- [Inspecting UI Elements for WinAppDriver automation using Appium Desktop](https://medium.com/@licanhua/inspecting-ui-elements-for-winappdriver-automation-using-appium-desktop-8f178b2d0d6c)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-native-windows%2Fselenium-webdriver-winappdriver-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-native-windows%2Fselenium-webdriver-winappdriver-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-native-windows%2Fselenium-webdriver-winappdriver-example/lists"}