public boolean htmlContains(String subString) throws Exception { String html = requester.html(); html = html.replaceAll("\n", " "); html = html.replaceAll("\r", " "); html = html.replaceAll("\\s+", " "); return (html.indexOf(subString) != -1); }
public String content() throws Exception { return requester.html(); }