@Test
public void testLogin() {
Form form = browser.currentPage().form("form");
form.field("login").type("myLogin");
form.field("password").type("myPassword");
form.check("remember");
form.submit();
// logged successfuly
Assert.assertEquals("Main Page", browser.currentPage().title());