-
Notifications
You must be signed in to change notification settings - Fork 29
Using TouchActions in C#
Nick Abalov edited this page Oct 3, 2015
·
2 revisions
In C# Selenium bindings TouchActions are avaiable only for drivers that impelemnt IHasTouchScreen interface.
Default driver binding RemoteWebDriver does not impelement IHasTouchScreen.
If you want to use TouchActions in your tests, then you would need to use custom (but simple) driver class in you tests, e.g.:
this.driver = new WpDriver(new Uri("http://localhost:9999"), capabillities);
For WpDriver implementation see WpDriver. Full C# example can be found here