I am trying to execute scroll action on appium inspector, but it’s not working in Scrollview, I do see the call made for mobile:scroll with required parameters in appium 1.6.4 version, but no scrolling happens, How to execute scroll/swipe action on appium inspector?
Command used:
[driver executeScript:@“mobile:scroll” arguments: [NSArray arrayWithObject: [NSDictionary dictionaryWithObjectsAndKeys: @“down”, @“direction”, nil]]];
Debug - Call made:
[HTTP] --> POST /wd/hub/session/d98adb2e-56ba-4932-8234-0c0d808632b7/execute {“script”:“mobile: scroll”,“args”:[{},{“direction”:“down”}]}
[debug] [MJSONWP] Calling AppiumDriver.execute() with args: [“mobile: scroll”,[{},{“direction”:“down”}],“d98adb2e-56ba-4932-8234-0c0d808632b7”]
Error:
[AndroidDriver] Cannot get screenshot data with ‘adb exec-out’ because of ‘Command output is not a valid PNG file (fd504e47 !== 89504e47)’. Defaulting to ‘adb shell’ call