How to scroll down android hybrid webview?

I am automating an android hybrid app.
I switched to webview context and now i am looking to scroll to the last element.
i am unable to scroll using driver.scrollTo.

Which method should i use to navigate smoothly using appium?

Use selendroid for webview, you dont need to use scroll function for same.


How to use selendroid for webView.

Could you please explain?

Thank you

public void switchToWebview() throws IOException, InterruptedException{
Set contextNames = driver.getContextHandles();
for (String contextName : contextNames) {
System.out.println(contextNames); //prints out something like NATIVE_APP \n WEBVIEW_1

      }catch(Exception e){


Thanks a lot!!!

I will implement this and let you know… :smile: :smiley: