Skip to content

Conversation

@JoelEinbinder
Copy link
Contributor

@JoelEinbinder JoelEinbinder commented Oct 9, 2020

This is currently just the api and documentation. I'll add tests an impls as I finish them, but I think its easier to review this part independently.

Adds
page.touchscreen.tap
page.tap
frame.tap
elementHandle.tap

hasTouch must be enabled on the browser context level to use tap, otherwise it throws.

Blocked on #4099, #4101 and #4102

Copy link
Contributor

@dgozman dgozman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have tests for tap? I assume we need good coverage, checking touch/pointer events, touchstart preventDefault and triggered mouse/click events.

@JoelEinbinder JoelEinbinder force-pushed the touchscreen_tap branch 2 times, most recently from ba1fd79 to 0bf0f4f Compare October 13, 2020 10:49
@JoelEinbinder JoelEinbinder marked this pull request as ready for review October 19, 2020 10:12
@JoelEinbinder JoelEinbinder merged commit 92dda69 into microsoft:master Oct 19, 2020
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