@Then("^I see the Agent Contact Form from sticky header$") public void isStickyAgentFormPresent() throws Throwable { boolean status = detailPage.IsStickyAgentCardPresent(); Assert.assertTrue("No Credit Repair Form", status); System.out.println("Is Lead Form Displayed: " + status); }