Facing issue while automating Hybrid app

Hi All,

I am automating a hybrid app but i am facing some issue while writing scripts. Below are the issue:

  1. I am able to get the element of a button using findElement method and able to print the text present on it But unable to click on it. In Appium logs i am getting 200 status code and test case also pass, but only thing is element is not clicking.

  2. How to scroll or swipe in web view page.

  3. I have two news article web view page. If we swipe left or right then i will switch to next page or previous page. i tried to get the page source of the current screen page but in console i am getting page source of other page which is not displaying on the screen. Why?

Please help.