As mentioned in the video, the code is case sensitive.
Window.scrollTo has no significance
window.scrollTo will work.
We offer online selenium and UFT/QTP training. The course is very comprehensive and covers every aspect of automation testing with UFT/QTP and selenium.
All types of frameworks are covered in depth - data driven framework, hybrid framework, page object model with a live project