In many selenium test cases, you need to use the WebDriverWait class. For example, when you need to check whether a web element is visible or not, clickable or not, enabled or disabled before performing any actions. This article will show you how to use WebDriverWait class to achieve the above tasks with examples.
When you run selenium test scripts, you may encounter “No Such Element Exception”, “Element Not Found Exception” or “Stale Element Reference Exception”. Some times it is because of the web page element which need to be used is not loaded completely. In selenium, there has below two method to resolve these kind of issues.