You need to bind mouseMove(), keyDown()and click():
var elm = element(by.id('my_id'));
browser.actions()
.mouseMove(elm)
.keyDown(protractor.Key.CONTROL)
.click()
.perform();
Tested in Chrome by clicking on the link - opens the link in a new tab.
Note that starting with protractor 1.5, there is a global object browserthat should be used instead protractor.getInstance(), see Breaking Changes .
source
share