We need to create an object of WScript.Shell
The below example shows how to use Page Up key to scroll up on the web page
Function navigateTOPageTop()
Set o1 = Createobject("Wscript.Shell")
browser("name:=browsername").Page("title:=.*").Highlight
For s = 1 to 4
o1.SendKeys "{PGUP}"
Next
Set o1 = nothing
End Function
No comments:
Post a Comment