Added wait

This was an intermittent fail, so I added a wait for the page to load