diff --git a/docs/en/drivers/windows.md b/docs/en/drivers/windows.md index dabd0dd93..a3352c3ce 100644 --- a/docs/en/drivers/windows.md +++ b/docs/en/drivers/windows.md @@ -60,6 +60,15 @@ You could begin by taking a look at some existing samples: 2. In Visual Studio 2015 with the test solution open build the test and select **Test > Run > All Tests** +**Javascript/node Samples** + +1. Using selenium-webdriver + + [Examples on selenium-appium](https://github.com/react-native-windows/selenium-appium/tree/master/example) + + [selenium-webdriver-winappdriver-example](https://github.com/react-native-windows/selenium-webdriver-winappdriver-example) + + If you want to write tests from scratch, you can choose any programming language or tools supported by Appium/Selenium to write your test scripts. In the example below, we will author the test script in C# using Microsoft Visual diff --git a/sample-code/javascript-selenium-webdriver/README.md b/sample-code/javascript-selenium-webdriver/README.md new file mode 100644 index 000000000..0bf22470b --- /dev/null +++ b/sample-code/javascript-selenium-webdriver/README.md @@ -0,0 +1,12 @@ +## selenium-webdriver +[Selenium](https://github.com/SeleniumHQ/selenium) is a browser automation library. Most often used for testing web-applications. + +[selenium-webdriver](https://seleniumhq.github.io/selenium/docs/api/javascript/) is the offical WebDriver Javascript binding from selenium project. + +selenium-webdriver doesn't implement [Mobile JSON Wire Protocol Specification](https://github.com/SeleniumHQ/mobile-spec/blob/master/spec-draft.md) yet, but we can use [selenium-appium](https://github.com/react-native-windows/selenium-appium) to extend the functionality of selenium-webdriver. + +## Examples to automate Calculator on Windows using WinAppDriver + selenium-webdriver + +[Examples on selenium-appium](https://github.com/react-native-windows/selenium-appium/tree/master/example) + +[selenium-webdriver-winappdriver-example](https://github.com/react-native-windows/selenium-webdriver-winappdriver-example)