Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Pinch IN and Pinch out POST data #552

Open
bikeebh opened this issue Jan 18, 2022 · 1 comment
Open

Pinch IN and Pinch out POST data #552

bikeebh opened this issue Jan 18, 2022 · 1 comment

Comments

@bikeebh
Copy link

bikeebh commented Jan 18, 2022

I am using WDA for iOS device and i am trying to perform pinch in and pinch out operation using
Co - ordinates

I am looking for some Post data for wda/touch/multi/perform Endpoint

@KazuCocoa can you please send some references document of link

which having POST data format For Pinch in and Pinch out

@bikeebh bikeebh changed the title Pinch IN and pinch Pinch out POST Pinch IN and Pinch out POST data Jan 18, 2022
@KazuCocoa
Copy link
Member

I'd recommend you to refer to W3C actions via https://github.com/appium/appium-xcuitest-driver/blob/c6b79d9c0a289bbbd701ff3c3837e18101eb8797/lib/commands/gesture.js#L113-L132
https://appium.io/docs/en/commands/interactions/actions/ instead of the multi/perform endpoint since the endpoint is not used by W3C actions, used by old protocol. We no longer maintain well for such endpoints only used by old protol.
Btw, https://github.com/appium/WebDriverAgent/blob/a1824895274c60798b506f31054e4ce1e0400c71/WebDriverAgentTests/IntegrationTests/FBW3CMultiTouchActionsIntegrationTests.m is an example for the multiple commands. You also can find post data as appium log while https://appium.io/docs/en/writing-running-appium/touch-actions/ is running.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants