@Then("^I should see the Lead Confirmation from sticky header$") public void isStickyConfirmFormPresent() throws Throwable { Thread.sleep(3000); Assert.assertTrue("No Credit Repair Form", detailPage.StickyProgrexionLeadForm()); System.out.println("Is Confirmation Form Displayed: " + detailPage.StickyProgrexionLeadForm()); }