To resize the browser window to particular dimensions, we use ‘Dimension’ class to resize the browser window.