appium-inspector icon indicating copy to clipboard operation
appium-inspector copied to clipboard

Unable to perform Long press with appium desktop inspector using Action options

Open sgovarathan opened this issue 2 years ago • 5 comments

Scenario: We need to long press the Mobile app in IOS mobile

Tried actions: 1.Touch Option 2.longpress action option

Issue: Unable to perform Long press with appium desktop inspector using Action options It is asking KeyCode, metaState, Flags fields to execute.

sgovarathan avatar Jun 16 '22 08:06 sgovarathan

If you're talking about a long touch press (not a long key press), then the only way you'll be able to solve this now is to use the Actions API and construct an actions JSON object according to the w3c spec.

we'll be working on a complex gesture editor that will allow building these kinds of things visually over the next few months

jlipps avatar Jun 16 '22 21:06 jlipps

Hi,

Thanks for your reply!!

Do you have any other work around for performing longpress?

We need to Longpress the mobile application and send the different url to that application and to lunch it.

Note: need to do in Manual using appium inspector.

Thanks, Govarthan S

On Fri, 17 Jun, 2022, 2:32 am Jonathan Lipps, @.***> wrote:

If you're talking about a long touch press (not a long key press), then the only way you'll be able to solve this now is to use the Actions API and construct an actions JSON object according to the w3c spec.

we'll be working on a complex gesture editor that will allow building these kinds of things visually over the next few months

— Reply to this email directly, view it on GitHub https://github.com/appium/appium-inspector/issues/470#issuecomment-1158128065, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZVAMNAVOVB77X4RIDYEVCTVPOI7TANCNFSM5Y6AA4IQ . You are receiving this because you authored the thread.Message ID: @.***>

sgovarathan avatar Jun 17 '22 08:06 sgovarathan

No, no other workaround is available in the inspector at this time.

jlipps avatar Jun 17 '22 16:06 jlipps

If you're talking about a long touch press (not a long key press), then the only way you'll be able to solve this now is to use the Actions API and construct an actions JSON object according to the w3c spec.

we'll be working on a complex gesture editor that will allow building these kinds of things visually over the next few months

Do you have a task for complex gesture editor that I can follow

JayD123 avatar Sep 20 '22 15:09 JayD123

it's already released

jlipps avatar Sep 22 '22 17:09 jlipps