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

Fix obsolete event.which for key testing #58

Merged
merged 1 commit into from
Oct 17, 2022

Conversation

mvorisek
Copy link
Contributor

event.which is obsolete and not even set in some browsers nor set by the latest syn.js

needed for minkphp/MinkSelenium2Driver#358 PR otherwise workaround minkphp/MinkSelenium2Driver@cfb81e9 is needed and the native syn.js/better mapping cannot be used

here is an example from Firefox console on real keyboard presses:
image
notice the keyCode and charCode is set depending on the keyPress vs keyUp/keyDown event types

same test update is proposed also in #42, but this PR does not propose other test changes for easier review

@stof stof merged commit f038a14 into minkphp:master Oct 17, 2022
@mvorisek mvorisek deleted the fix_event_which branch October 17, 2022 15:06
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

Successfully merging this pull request may close these issues.

2 participants