// test from attribute match
submit = doc.select("input[value=百度一下]").first();
assertEquals("su", submit.id());
Element newsLink = doc.select("a:contains(新)").first();
assertEquals("http://news.baidu.com", newsLink.absUrl("href"));
// check auto-detect from meta
assertEquals("GB2312", doc.outputSettings().charset().displayName());
assertEquals("<title>百度一下,你就知道 </title>", doc.select("title").outerHtml());