public void promptPresent ( double seconds ) { try { double timeTook = popup ( seconds ) ; checkPromptPresent ( seconds , timeTook ) ; } catch ( TimeoutException e ) { checkPromptPresent ( seconds , seconds ) ; } }
Waits up to the provided wait time for a prompt is present on the page . This information will be logged and recorded with a screenshot for traceability and added debugging support .