"WebDriver:ElementClick" fails to click on elements when CSS transformations are applied
Categories
(Remote Protocol :: Marionette, defect, P3)
Tracking
(Not tracked)
People
(Reporter: whimboo, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug, )
Details
Attachments
(1 file)
722 bytes,
text/plain
|
Details |
Updated•3 years ago
|
Updated•3 years ago
|
Reporter | ||
Comment 1•1 year ago
|
||
There is a not yet reviewed test as well at: https://github.com/web-platform-tests/wpt/pull/44205
Lets re-triage given that we are working on event dispatching from the parent process and it might be a good test case to have.
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Comment 2•1 year ago
|
||
This is basically not only for elements within a transformed iframe but can happen for all elements where a CSS transformation is applied to. As of now we use the .getBoundingClientRect()
method to retrieve the area the element occupies. But this will not work for transformed elements. For those we would have to get the content quads which are implemented in Firefox as getBoxQuads()
.
Note that this is still a DOM API that has not officially specified yet. So APIs might change.
Lets wait until we have such a command in BiDi so we can see if it makes sense to also add to WebDriver classic. I'll update the bug once I filed the related BiDi issues for discussion.
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Comment 3•1 year ago
|
||
As discussed setting it as P3 for now until we have a solution for WebDriver BiDi.
Reporter | ||
Updated•1 year ago
|
Description
•