@Test public void testH1Existing() throws InterruptedException { Assert.assertTrue(homepage.getH1() != null); }
public String getH1() { return h1Element.getText(); }
HomePage extends Page { public String getH1() { return h1Element.getText(); } }
HomePage extends Page { public String getH1() { return h1Element.getText(); } HomePage(WebDriver webDriver); }
HomePage extends Page { public String getH1() { return h1Element.getText(); } HomePage(WebDriver webDriver); String getH1(); }
HomePage extends Page { public String getH1() { return h1Element.getText(); } HomePage(WebDriver webDriver); String getH1();  }