@Override
  protected void runSingleStringAssertion(StringAssert assertThatHeader, String header) {

    assertThatHeader
        .overridingErrorMessage(
            "Expecting web page header NOT to match regexp '%s', but was '%s'",
            expectedHeader, header)
        .doesNotMatch(CommandUtils.patternOf(expectedHeader));
  }
    @Override
    protected void runSingleStringAssertion(StringAssert assertion, String elementText) {

      assertion
          .overridingErrorMessage(
              "Expecting attribute '%s' in the web page element with selector '%s'"
                  + " NOT to have value '%s'",
              inputAttributeName, by, expectedAttributeValue)
          .isNotEqualTo(expectedAttributeValue);
    }
    @Override
    protected void runSingleStringAssertion(StringAssert assertion, String elementText) {

      assertion
          .overridingErrorMessage(
              "Expecting inner text of web page element with selector '%s'"
                  + " to match regexp '%s', but text was '%s'",
              by, expectedText, elementText)
          .matches(CommandUtils.patternOf(expectedText));
    }