T - this object type to chain method callspublic interface FluentJavascriptActions<T>
Underlying webDriver must support javascript to support those actions.
| Modifier and Type | Method and Description |
|---|---|
T |
scrollIntoView()
Scrolls the current element into the visible area of the browser window.
|
T |
scrollIntoView(boolean alignWithTop)
Scrolls the current element into the visible area of the browser window.
|
T |
scrollToCenter()
Scrolls center of the current element into the visible area of the browser window, respecting window size.
|
T scrollIntoView()
T scrollIntoView(boolean alignWithTop)
alignWithTop - If true, the top of the element will be aligned to the top of the visible area of the scrollable
ancestor. If false, the bottom of the element will be aligned to the bottom of the visible area of the
scrollable ancestor.T scrollToCenter()
Copyright © 2018 FluentLenium. All Rights Reserved.