I am running a Selenium script. I want to halt the execution of the script for a while. I do not want to use selenium implicit or explicit wait, as I am not waiting for a page transition or an element to appear or a condition to be satisfied. As far as I know,
Thread.sleep();
is generally used in such cases. Is there any other way to do this other than Thread.sleep()?