Implement scroll/swipe on Android using Touch Action in C#


I’m currently trying to implement a scroll/swipe function to be able to scroll a native android app in C# using TouchAction.

When i try to create a new TouchAction I’m getting the error " cannot convert from ‘OpenQA.Selenium.Remote.RemoteWebDriver’ to ‘OpenQA.Selenium.Appium.Interfaces.IPerformsTouchActions’"

I’ve tried changing my driver to be AndroidDriver with still having the same error. If I cast the RemoteWebDriver to a IPerformsTouchActions it returns null.

Does anyone know how to implement a scroll/swipe for Android in C#?

I’m using appium 1.8.1 on windows
and appium.webdriver in visual studio

Thanks in advance