Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Unable to perform mouse actions on mac #100

Open
rajudevolla opened this issue Sep 15, 2020 · 3 comments
Open

Unable to perform mouse actions on mac #100

rajudevolla opened this issue Sep 15, 2020 · 3 comments

Comments

@rajudevolla
Copy link

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.

@milindmaha
Copy link

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();
actions.clickAndHold();
actions.moveToElement();
actions.perform();
}

@pramodl7713
Copy link

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

@milindmaha
Copy link

@pramodl7713 What's the error you got?

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

No branches or pull requests

3 participants