and wait for the page to load