@staticmethod
def set_browser_size(context):
    """
        Sets the browser window to the required size e.g. maximized
        :param context: the test context instance
        """
    if context.maximize_browser:
        context.browser.maximize_window()
