Skip to content

Issue with sending a specific shortcut (Control + d + e + v) #304

@superaleks

Description

@superaleks

Hi team,

As a part of one of automation projects for a Mac app we are working on, I've got to enable a specific environment by hitting Control + d + e + v key combination.
I've tried the following as per documentation:

await browser.executeScript("macos: keys", [{ keys: [{ key: "d", modifierFlags: (1 << 2 )}, { key: "e", modifierFlags: (1 << 2 )}, { key: "v", modifierFlags: (1 << 2 )} ] } ]);

I can hear that some keyboard event is sent but I don't know exactly what, and I can't get info in the logs.
Is this the correct way of hitting this key combo? Or is there something else?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions