Added wait_page_loaded()