expression.ScrollIntoView( _ ByVal alignWithTop As Boolean _ )
where expression is a variable that represents a WebElement Object
Parameters
- alignWithTop
expression.ScrollIntoView( _ ByVal alignWithTop As Boolean _ )
Dim app As Attachmate_Reflection_Objects_Framework.ApplicationObject Dim wElement As WebElement 'Get a handle to the workspace Set app = GetObject("Reflection Workspace") ThisWebControl.Navigate1 "https://www.microfocus.com/documentation/reflection-desktop/17-0/" Do Until ThisWebControl.ReadyState = WebBrowserReadyState_Complete app.Wait (1000) Loop 'Get the Web element for the Programming Resources table Set wElement = ThisWebControl.Document.GetElementById("programming_resources") 'Scroll to the Programming Resources table wElement.ScrollIntoView (True) End Sub