Element is not visible error:
This error occurs when the target element is hidden below some other element (something like a dialog box) or it is hidden by the CSS in the page. In this case we have two options:
- Remove or hide the other element so that the target element is visible and the perform events on it.
For this get the element