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

Testing global shortcuts (accelerators) #985

Open
coda-nsit opened this issue Jun 21, 2021 · 0 comments
Open

Testing global shortcuts (accelerators) #985

coda-nsit opened this issue Jun 21, 2021 · 0 comments

Comments

@coda-nsit
Copy link

My electron app has many webviews and some global keyboard shortcuts like
cmd=: zoom in
cmd-: zoom out
cmdr: reload

Everything works in the app and I want to write integration tests.

Till now I have not found any way to simulate/test this, since, cmd key is not identified and thus, nothing happens when I press these combinations.

I have tried RobotJS (does not support latest node version so rebuilding it for electron fails).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant