Add wailt_for_emulator