diff --git a/Services/WebContent/WebDriverConnection.cpp b/Services/WebContent/WebDriverConnection.cpp index 29c14c436c8..100611c58e7 100644 --- a/Services/WebContent/WebDriverConnection.cpp +++ b/Services/WebContent/WebDriverConnection.cpp @@ -122,6 +122,9 @@ static void scroll_element_into_view(Web::DOM::Element& element) { // 1. Let options be the following ScrollIntoViewOptions: Web::DOM::ScrollIntoViewOptions options {}; + // "behavior" + // "instant" + options.behavior = Web::Bindings::ScrollBehavior::Instant; // Logical scroll position "block" // "end" options.block = Web::Bindings::ScrollLogicalPosition::End;