Is there a way in [pure] JavaScript to maximise a browser window and increase its height such that it doesn't have scroll bars? Even if the height becomes greater than the screen.
Thanks all
Update
The reason I want to do this is so that I can capture the full page of the site as an image using selenium. The native selenium functions do not work on all browsers and do not do exactly what I want so I've built my own image capture in C sharp but I need some JS code to increase height of browser.