xxxxxxxxxx
const result = await app.executeScript('mobile: swipeGesture', {
left: 100, // Starting X-coordinate of the scroll area
top: 200, // Starting Y-coordinate of the scroll area
width: 400, // Width of the scrollable area
height: 600, // Height of the scrollable area
direction: 'left', // Direction to scroll ('up', 'down', 'left', 'right')
percent: 0.99 // Percentage of the screen to scroll (0.5 means 50%)
});
console.log(result);