2gis / Winium.Mobile

Winium.Mobile is Selenium Remote WebDriver implementation for automated testing of Windows StoreApps and Silverlight apps, tested on emulators (currently only Windows Phone/Mobile apps are supported).
Mozilla Public License 2.0
50 stars 29 forks source link

Add support for Hybrid apps #37

Open NickAb opened 9 years ago

NickAb commented 9 years ago

Support for testing of hbrid apps can be done in the same way as it is done in Appium. We can implement switching between contexts. When in WebView context driver will simple proxy commands and execute InvokeScript on WebView.

Here are docs on InvokeScript https://msdn.microsoft.com/en-us/library/windows.ui.xaml.controls.webview.invokescript.aspx

Also, there is a project of selenium-based driver for Windows Phone internet Explorer: https://github.com/forcedotcom/windowsphonedriver This project includes driver, that proxies commands and test app, that has single WebView. commands are executed using InvokeScript and selenium atoms.

NickAb commented 7 years ago