none
powershell to verify how many times i can scroll internet explorer window RRS feed

  • Question

  • i have to take screenshots of website (around 600 pages). i could not use the print option because it will take the formatting and background images off.  i cant use any third party tools or extensions. 

    i have figured a way to open webpage, scroll down full page length and take screenshot. 

     
    $ie=new-object -com internetexplorer.application 
    $ie.Visible = $true
    $ie.navigate('http://www.xyz.com') 
    $ie.Document.Parentwindow.scrollBy(0,$ie.Document.Parentwindow.innerheight)

    is there any way i can verify if i am at the bottom of the page or how many scorrlls i can do on each page / window?

    Thank you for taking time and help!

    • Moved by Bill_Stewart Monday, April 30, 2018 9:16 PM This is not "scripts on demand"
    Wednesday, February 21, 2018 12:38 AM