Add a wait, so that the page is loaded before trying to submit it