Open sadym-chromium opened 2 weeks ago
The Browser Testing and Tools Working Group just discussed Input events dispatch to top-level frame
.
@sadym-chromium I assume that this request is similar or actually the same as https://github.com/w3c/webdriver/issues/1840?
@sadym-chromium I assume that this request is similar or actually the same as w3c/webdriver#1840?
If the issue you mentioned is not about coordinates but about the context the actions dispatch from, then yes, it's the same.
Currently in BiDi, the origin of the input event can be sent to a non-top level browsing context. Classic specification declares it as Perform implementation-specific action dispatch steps on browsing context, which ends up in
However, performing inputs on not top level browsing context seems to be odd and can be misleading during testing of interactions with iframe's elements.
Should we emit the emulation events on the top-level browsing context? How spec can be formulated, so that user keeps possibility to send an element in a nested browsing context, and be able to verify it was not intercepted by the parent frame?