public void NewJazz_WaitChartMaskerLoading(int maxtime = 0) { try { ElementHandler.NewJazz_Wait(NewJazzChartMaskerLoadingLocator, WaitType.ToAppear, timeout: maxtime <= 0 ? 1 : maxtime); TimeManager.ShortPause(); ElementHandler.NewJazz_Wait(NewJazzChartMaskerLoadingLocator, WaitType.ToDisappear, timeout: maxtime <= 0 ? 30 : maxtime); TimeManager.ShortPause(); } catch (Exception ex) { //throw; } }