Add wait_for() utility method for FTs checking current_url, etc