This method of the WebBrowser class retrieves the height of the Microsoft® Internet Explorer main window.
public synchronized int getHeight();