code: private void setupScreenSize(App app) {
          String screensize = app.getBrowser().getScreensize();
          if (screensize != null) {
              if (screensize.matches("(\\d+)x(\\d+)")) {
                  int width = Integer.parseInt(screensize.split("x")[0]);
                  int height = Integer.parseInt(screensize.split("x")[1]);
                  app.resize(width, height);
              } else if ("maximum".equalsIgnoreCase(screensize)) {
                  app.maximize();
              } else {
                  log.error("Provided screensize does not match expected pattern");
              }
          }
      }
docs: Sets up the initial size of the browser. Checks for the passed in parameter of screensize. If set to width
  x height, sets the browser to that size; if set to maximum, maximizes the browser.
  
  @param app - the application to be tested, contains all control elements