Here is what I found for getting object in view on a browser. This code might need to be expanded to check if MyObject exist and how to handle if does not exist.
'Go to object
Function pageGotoTop(ByRef myPage)
myjs=''window.scrollTo(0,0);''
myPage.RunScript(myjs)
wait .5
End Function
Function ObjGoto( myPage,MyObject)
' find object location
myY =MyObject.GetROProperty(''y'')
myX =MyObject.GetROProperty(''x'')
' Scroll to object location
myjs=''window.scrollTo('' & myX & '','' & myY & '');''
myPage.RunScript(myjs)
Wait .5
End Function
SET myPage=Browser(''MyBrowser'').Page(''myPage'')
'Scroll to top
pageGotoTop(myPage)
SET MyObject=Browser(''MyBrowser'').Page(''myPage'').Image(''TeamHub'')
ObjGoto myPage, MyObject
'Scroll to top
pageGotoTop(myPage)
SET MyObject=Browser(''MyBrowser'').Page(''myPage'').Link(''JavaFX and UFT'')
ObjGoto myPage, MyObject
Browser(''MyBrowser'').Page(''myPage'').Link(''JavaFX and UFT'').highlight