Improve selenium test by adding waits for page loads and for jquery datepicker to close.