Closed andrewnicols closed 4 months ago
Thanks @andrewnicols! Given that this is actually an issue with Marionette would you mind filing a new bug on Bugzilla under the Remote Protocol / Marionette component?
Ah apologies - I forget what has to be reported where.
Reported to Marionette: https://bugzilla.mozilla.org/show_bug.cgi?id=1906095
This issue is now fixed thanks to @andrewnicols's work and will be available in the next Firefox Nightly build today.
System
I don't currently have a testcase for this because I'm not sure how best to demonstrate this.
https://www.w3.org/TR/webdriver2/#element-send-keys states:
The scroll into view definition states:
(emphasis mine)
The issue is that the Marionette
interaction.sys.mjs::webdriverSendKeysToElement
always callslazy.dom.scrollIntoView(containerEl);
and that always callsscrollIntoView()
.That is to say that Marionette always scrolls into view, regardless of whether it is necessary or not.