@Test public void testFullScrollInSlowMotion() throws InterruptedException, PageException { // Scroll the web page in slow motion webpage.fullScrollInSlowMotion(); // find the text "Amazon Payment Products" ITafElement element = webpage.findObjectByxPath(prop.getProperty("amazon_payment_products")); Assert.assertEquals("Amazon Payment Products", element.getText()); }