code: @After(order = ORDER_20, value = {"@mobile or @web"})
      public void seleniumTeardown() {
          if (commonspec.getDriver() != null) {
              commonspec.getLogger().debug("Shutdown Selenium client");
              commonspec.getDriver().close();
              commonspec.getDriver().quit();
          }
      }
docs: Close selenium web driver.