You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pinch method uses absolute coordinates instead of relative coordinates. This causes unexpected results when using Pinch(IWEbElement) and Pinch(int,int).
The Appium logs below show the problem in case of using Pinch(200,200).
Environment
Appium WebDriver 1.5.1.1
Appium server 1.5.2
Node.js version 4.4.4
Mobile platform/version under test: Android
Real device or emulator/simulator: Real device
Link to Appium logs
[HTTP] --> POST /wd/hub/session/db192cca-2160-4d38-b5d0-19e106c040c1/touch/multi/perform {"actions":[[{"action":"press","options":{"x":200,"y":100}},{"action":"moveTo","options":{"x":200,"y":200}},{"action":"release"}],[{"action":"press","options":{"x":200,"y":300}},{"action":"moveTo","options":{"x":200,"y":200}},{"action":"release"}]]}
[MJSONWP] Calling AppiumDriver.performMultiAction() with args: [[[{"action":"press","options":{"x":200,"y":100}},{"action":"moveTo","options":{"x":200,"y":200}},{"action":"release"}],[{"action":"press","options...
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"performMultiPointerGesture","params":{"actions":[[{"action":"press","time":0.005,"touch":{"x":200,"y":100}},{"action":"moveTo","time":0.01,"touch":{"x":400,"y":300}}],[{"action":"press","time":0.005,"touch":{"x":200,"y":300}},{"action":"moveTo","time":0.01,"touch":{"x":400,"y":500}}]]}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"performMultiPointerGesture","params":{"actions":[[{"action":"press","time":0.005,"touch":{"x":200,"y":100}},{"action":"moveTo","time":0.01,"touch":{"x":400,"y":300}}],[{"action":"press","time":0.005,"touch":{"x":200,"y":300}},{"action":"moveTo","time":0.01,"touch":{"x":400,"y":500}}]]}}
The text was updated successfully, but these errors were encountered:
Description
The pinch method uses absolute coordinates instead of relative coordinates. This causes unexpected results when using Pinch(IWEbElement) and Pinch(int,int).
The Appium logs below show the problem in case of using Pinch(200,200).
Environment
Link to Appium logs
[HTTP] --> POST /wd/hub/session/db192cca-2160-4d38-b5d0-19e106c040c1/touch/multi/perform {"actions":[[{"action":"press","options":{"x":200,"y":100}},{"action":"moveTo","options":{"x":200,"y":200}},{"action":"release"}],[{"action":"press","options":{"x":200,"y":300}},{"action":"moveTo","options":{"x":200,"y":200}},{"action":"release"}]]}
[MJSONWP] Calling AppiumDriver.performMultiAction() with args: [[[{"action":"press","options":{"x":200,"y":100}},{"action":"moveTo","options":{"x":200,"y":200}},{"action":"release"}],[{"action":"press","options...
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"performMultiPointerGesture","params":{"actions":[[{"action":"press","time":0.005,"touch":{"x":200,"y":100}},{"action":"moveTo","time":0.01,"touch":{"x":400,"y":300}}],[{"action":"press","time":0.005,"touch":{"x":200,"y":300}},{"action":"moveTo","time":0.01,"touch":{"x":400,"y":500}}]]}}
[AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"performMultiPointerGesture","params":{"actions":[[{"action":"press","time":0.005,"touch":{"x":200,"y":100}},{"action":"moveTo","time":0.01,"touch":{"x":400,"y":300}}],[{"action":"press","time":0.005,"touch":{"x":200,"y":300}},{"action":"moveTo","time":0.01,"touch":{"x":400,"y":500}}]]}}
The text was updated successfully, but these errors were encountered: