Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

OSX protractor.Key.COMMAND not available #690

@elgalu

Description

@elgalu

We are trying to test copy & paste functionality on OSX browsers but this isn't working:

pasteArea.sendKeys(protractor.Key.chord(protractor.Key.COMMAND, "v"));

Nor this

browser.actions().keyDown(protractor.Key.COMMAND).sendKeys('v').
    keyUp(protractor.Key.COMMAND).perform();

I also tried CMD but fails with Error: Not a modifier key.

On Linux and Windows, CONTROL works fine. IE11 needs some workarounds though. But CTRL+V doesn't paste on OSX, as you know (CMD+V)

There are java bindings for COMMAND but can't find them on webdriver.js source

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions