question: @ Step ( "Asserting element {1} is present after {2} seconds" ) public static void assertElementIsPresentAfter ( AugmentedFunctions driver , By by , int timeoutInSeconds ) { Preconditions . checkNotNull ( driver ) ; Preconditions . checkNotNull ( by ) ; try { driver . findElementPresentAfter ( by , timeoutInSeconds ) ; } catch ( TimeoutException e ) { throw new AssertionError ( String . format ( "Element %s is not present after %s seconds" , by , timeoutInSeconds ) , e ) ; } }
target:  Asserts that a By is present. If it is not present after timeoutInSeconds, it will throw an AssertionError exception