Using selenium webdriver javascript, how can I reduce the speed of inputs and clicks on the browser? I want to validate if the inputs are correct while the code is running.