code: public String url() {
          try {
              return driver.getCurrentUrl();
          } catch (Exception e) {
              log.warn(e);
              return null;
          }
      }
docs: Retrieves the current url of the application.
  
  @return String - current application url