You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Puppeteer has a .tap() method, which fires slightly different events from .click. We could add this method to our user API.
TODO: figure out the benefits of having this method (specifically which events does it fire differently, and when does it matter), and decide if it makes sense to add this.
It is also worth considering whether adding an option to .click, like user.click(el, { type: 'tap' }) is better
The text was updated successfully, but these errors were encountered:
I think I'm gonna put this off until we have test code on a real project that needs .tap where the behavior of .click is different enough to actually matter
Puppeteer has a .tap() method, which fires slightly different events from
.click
. We could add this method to our user API.TODO: figure out the benefits of having this method (specifically which events does it fire differently, and when does it matter), and decide if it makes sense to add this.
It is also worth considering whether adding an option to .click, like
user.click(el, { type: 'tap' })
is betterThe text was updated successfully, but these errors were encountered: