Skip to content

[📖 Docs]: Modifiers in browser.keys #14487

@vitmf

Description

@vitmf

Pre-check

  • I know I can edit the docs but prefer to file this issue

Describe the improvement

Unclear documentation

Description of the improvement / report

Hello.

The documentation of browser.keys says:

Modifier like Control, Shift, Alt and Command will stay pressed so you need to trigger them again to release them.

This does not seem to happen. await browser.keys(Key.Ctrl) will dispatch a keydown and a keyup event, and in await browser.keys([Key.Ctrl, 'c', Key.Ctrl]) the second Key.Ctrl will dispatch another keydown instead of releasing the key.
Is this correct?

Thanks.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Docs 📖help wantedIssues that are free to take by anyone interested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions