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
Is it possible to simulate a "Tap" from the console?
If an element is given a synthetic onClick event in React, the element itself can be identified in the DOM from the console in DevTools and a 'click' event simulated. For example (using jQuery for ease of demonstration)
$('[data-qa="some-element"]').click()
Is an equivalent event possible form the console?
The text was updated successfully, but these errors were encountered:
Is it possible to simulate a "Tap" from the console?
If an element is given a synthetic onClick event in React, the element itself can be identified in the DOM from the console in DevTools and a 'click' event simulated. For example (using jQuery for ease of demonstration)
$('[data-qa="some-element"]').click()
Is an equivalent event possible form the console?
The text was updated successfully, but these errors were encountered: