Hello everybody: Here I have the next situation:
I want to click an element with Mac OS pressing Command button + click.
This is the code I have:
Actions action = new Actions(driver);
//View full profile link
WebElement fprofile = driver.findElement(By.className("something"));
action.keyDown(Keys.COMMAND)
.click(fprofile)
.keyUp(Keys.COMMAND)
.build()
.perform();
It seems it's not working.
By other hand, I try to make a click with mouse middle button, but I cannot find how to do that.