[BUG] Chromium: Cannot click, element intercepts pointer events
See original GitHub issueContext:
- Playwright Version: 1.20.0
- Operating System: Windows10
- Node.js version: LTS 16
- Browser: Chromium only
Describe the bug Trying to click on the ElementHandle, located by ElementHandle.waitForSelector() - fails in Chroimum with error
attempting click action
waiting for element to be visible, enabled and stable
element is visible, enabled and stable
scrolling into view if needed
done scrolling
performing click action
<span class="selection">…</span> intercepts pointer events
Works fine in Webkit and Firefox, was working fine in all browsers before 1.20.0 upgrade.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:5
- Comments:14 (4 by maintainers)
Top Results From Across the Web
Misfired pointer events in nested iframes on Chromium 78
Just an idea for a workaround: you could compare the coordinates in the out/leave events to the last known position inside the button...
Read more >466167 - Chrome click / touch event is not working ... - Monorail
Click events only fire when a finger is used to touch the element, but not when it's clicked with a cursor. Disabling touch...
Read more >How To Deal With "Element is not clickable at point” Exception ...
WebElement to be clicked is disabled. · WebElement is not yet available (or loaded) on the web page. · WebElements overlap with each...
Read more >WebDriver - W3C
An element is said to have pointer events disabled if the resolved value of its ... return error with error code element click...
Read more >Element click intercepted - not clickable at point - Other ...
That is the reason Selenium Click was not able to click on element. Search button is overlapped by an auto suggestion option. Exception...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi @dgozman
Here’s a repro for the chromium issue. Steps to reproduce:
http-serverNPM package)repro.zip
Thanks for the investigation and the workaround @dgozman. It fills me with joy to have “Romimine”, which is the name we gave to the cat living in our garden, now part of the codebase of Playwright and used to fix an issue in chromium. 😂