I think the UI should be the same after switch_to_frame().
what object should we wait for it be displayed, any suggestion?