element("form1:btn1").clickAndWait(OpenFacesAjaxLoadingMode.getInstance());
counter.assertText("1"); // check direct embedding
element("form1:btn2").clickAndWait(OpenFacesAjaxLoadingMode.getInstance());
counter.assertText("2"); // check attaching with "for" attribute
element("form1:btn3").clickAndWait(OpenFacesAjaxLoadingMode.getInstance());
counter.assertText("3"); // standalone invokation
// check operation with <h:commandButton> -- a special implementation case
element("form1:link1").clickAndWait(OpenFacesAjaxLoadingMode.getInstance());
counter.assertText("4"); // check direct embedding
element("form1:link2").clickAndWait(OpenFacesAjaxLoadingMode.getInstance());