Open PlanetartRoc opened 3 weeks ago
Moving upstream since I can repro with npx playwright open --device="Galaxy S8" https://www.simplytoimpress.com/baptism-invitations/design-105133
.
Thank you for your support.
Investigation:
onclick="die_cut_changed('2', false, 0); displayLightningIcon();"
inside the DOMon('touchend', function() {
click event listeners via JavaScript'click'
event handlersWorkaround: We recommend switching to pointerdown/pointerup since touch events are deprecated as per here: https://w3c.github.io/touch-events/#:~:text=license%20rules%20apply.-,Status%20of%20This%20Document,-This%20document%20is
The Community Group considers Touch Events a legacy API – authors are strongly encouraged to adopt Pointer Events instead.
Version
1.46.0
Steps to reproduce
scripts:
Expected behavior
Can operate normally
Actual behavior
None of the elements in the red box can be operated The script can not navigate to elements, nor can it click to manually manipulate them
Additional context
In the script-initiated browser window, manually switch to developer mode, and then simulate the mobile page is operational. I do not know whether can be configured to solve with the new_context arguments?
Environment