Added more generic wait function to actions
3 files changed