lsakizada Posted April 20, 2014 Posted April 20, 2014 (edited) I created embedded IE object in the GUI but now I want it automatically scroll down to the bottom of the page How to make it scroll down? The following code does not do the work. Local $oIE = _IECreateEmbedded() GUICtrlCreateObj($oIE, 20, 160, 755, 340) _IENavigate($oIE, "file:///C:/Automation/tmp/RunTimeDefault.html") $oIE.document.body.scrollbottom ="yes" Edited April 20, 2014 by lsakizada Be Green Now or Never (BGNN)!
Danp2 Posted April 20, 2014 Posted April 20, 2014 This will scroll to the bottom of the document: $oIE.document.parentwindow.scrollTo(0,$oIE.document.body.scrollHeight); Latest Webdriver UDF Release Webdriver Wiki FAQs
lsakizada Posted April 20, 2014 Author Posted April 20, 2014 @Danp2 Very nice!!! You make me happy today! its works smooth in my code! Have a good one! Be Green Now or Never (BGNN)!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now