added maximize() method

Added maximize() method to maximize the browser window