appium-for-mac icon indicating copy to clipboard operation
appium-for-mac copied to clipboard

Unable to perform mouse actions on mac

Open rajudevolla opened this issue 3 years ago • 3 comments

Hi Team,

I am not able to perform mouse actions like mouse up and down using appium for mac. I have tried the below options.

1.http://appium.io/docs/en/commands/interactions/mouse/moveto/ 2. Tried to use scroll from iOS driver, that is also not wokring

Requesting to look into this.

rajudevolla avatar Sep 15 '20 11:09 rajudevolla

If you are using java client, update the capabilities by setting caps.setCapability("forceMjsonwp", true)

import org.openqa.selenium.interactions.Actions;

@Test void someTestFunction() { Actions actions = new Actions(driver); actions.moveToElement(<beginElement>); actions.clickAndHold(); actions.moveToElement(<destinationElement>); actions.perform(); }

milindmaha avatar Nov 04 '20 23:11 milindmaha

@milindmaha Even caps.setCapability("forceMjsonwp", true) is not working any other soultion

pramodl7713 avatar Mar 28 '21 11:03 pramodl7713

@pramodl7713 What's the error you got?

milindmaha avatar Mar 29 '21 18:03 milindmaha