In This Topic
Scrolls through the document that contains this element until the top or bottom edge of the element is aligned with the top of the document's window.
Syntax
'Declaration
Sub ScrollIntoView( _
ByVal As Boolean _
)
'Usage
Dim instance As IWebElement
Dim alignWithTop As Boolean
instance.ScrollIntoView(alignWithTop)
void ScrollIntoView(
bool
)
Parameters
- alignWithTop
- If true, the top of the object will be displayed at the top of the window. If false, the bottom of the object will be displayed at the bottom of the window.
See Also