try {
HtmlPage page = (HtmlPage) client.getPage(baseURL
+ "/annot/some-action?var=contollerAnnotationTest");
DomNodeList<HtmlElement> elements = page.getElementsByTagName("h2");
checkEquals(1, elements.size());
HtmlElement h2 = elements.get(0);
checkEquals("annot/some-action contollerAnnotationTest", h2.getTextContent());
} catch (Exception e) {
logger.error("error", e);
error = true;
}
logger.debug("Client9 request complete!");