code: @Given("^I( securely)? browse to '(.+?)'$")
      public void seleniumBrowse(String isSecured, String path) throws Exception {
          assertThat(path).isNotEmpty();
  
          if (commonspec.getWebHost() == null) {
              throw new Exception("Web host has not been set");
          }
  
          if (commonspec.getWebPort() == null) {
              throw new Exception("Web port has not been set");
          }
          String protocol = "http://";
          if (isSecured != null) {
              protocol = "https://";
          }
  
          String webURL = protocol + commonspec.getWebHost() + commonspec.getWebPort();
  
          commonspec.getDriver().get(webURL + path);
          commonspec.setParentWindow(commonspec.getDriver().getWindowHandle());
      }
docs: Browse to {@code url} using the current browser.
  
  @param path path of running app
  @throws Exception exception