Skip to content

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