Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new keyboard modifier key: ControlOrMeta #3968

Open
siongwai opened this issue Dec 18, 2024 · 4 comments
Open

Add new keyboard modifier key: ControlOrMeta #3968

siongwai opened this issue Dec 18, 2024 · 4 comments
Labels
enhancement New feature or request priority: medium

Comments

@siongwai
Copy link

siongwai commented Dec 18, 2024

Is your feature request related to a problem? Please describe.
This is a new request to add new keyboard modifier key for ControlOrMeta.

Describe the solution you'd like
Looking on current modifier key, there are a separate key for Control and Meta for respective Windows and MacOS. Playwright has combine both modifier key: ControlOrMeta

Multiple methods like locator.click() or locator.press() now support a ControlOrMeta modifier key. This key maps to Meta on macOS and maps to Control on Windows and Linux.

This new key will use for Click with options keyword

@aaltat
Copy link
Member

aaltat commented Dec 20, 2024

@allcontributors please add @siongwai for enhancements.

Copy link
Contributor

@aaltat

I couldn't determine any contributions to add, did you specify any contributions?
Please make sure to use valid contribution names.

@aaltat aaltat added enhancement New feature or request priority: medium labels Dec 20, 2024
@aaltat
Copy link
Member

aaltat commented Dec 20, 2024

@allcontributors please add @siongwai for ideas

Copy link
Contributor

@aaltat

@siongwai already contributed before to ideas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority: medium
Projects
None yet
Development

No branches or pull requests

2 participants