Removed the WaitForInputIdle as it doesn't work in UIA v3