Hi All, Finally I could able to resolve the issue of swiping for
Android
Hybrid App
Samsung 8 Device
before start of swiping use the switching to the Native context, after doing the swipe action
//Find swipe start and end point from screen's.
//Find startx point which is at right side of screen.
int startx = (int) (size.width * 0.70);
//Find endx point which is at left side of screen.
int endx = (int) (size.width * 0.30);
//Find vertical point where you wants to swipe. It is in middle of screen height.
int starty = size.height / 2;
System.out.println("startx = " + startx + " ,endx = " + endx + " , starty = " + starty);
//Swipe from Right to Left.
if(swipingDirection == Swipe.Left)
((AndroidDriver<WebElement>)getInstance()).swipe(startx, starty, endx, starty, 2000);
//Swipe from Left to Right.
if(swipingDirection == Swipe.Right)
((AndroidDriver<WebElement>)getInstance()).swipe(endx, starty, startx, starty, 2000);
switch back to WebContext to continue working with elements. Hope this solution helps