code: public static ByAttribute attribute(final String name, final String value) {
          if (name == null)
              throw new IllegalArgumentException(
                      "Cannot find elements when the attribute name is null");
  
          return new ByAttribute(name, value);
      }
docs: Finds elements by an named attribute matching a given value,
  irrespective of element name. Currently implemented via XPath.