When using Selenium/C# there are times where one cannot be sure if elements will be returned on not. This can be due to no records found, random date selection, type of records returned etc.
So in such cases waiting for an element to exist/visible/clickable is not the best method. Also I do not like using Thread.Sleep and at times waiting for a page to complete loading while Angular is still doing its stuff does not always work.
So in such circumstances is there a safe wait to employ a wait method for say 2 seconds without Thread.Sleep?
Any thoughts please?