docs: public Page getAndSubmitLoginForm(HtmlPage loginPage, String username, String password) throws Exception {
          if (loginPage == null) {
              throw new Exception("Cannot submit login form because the provided HtmlPage object is null.");
          }
          HtmlForm form = getAndValidateLoginForm(loginPage);
          return fillAndSubmitCredentialForm(form, username, password);
      }