title: Selenium C# Webdriver How to detect if element is visible
body: <p>Is there a way in the latest version of Selenium DotNet Webdriver (2.22.0) to check to see if an element is visible before clicking/interacting with it?</p>
  
  <p>The only way I've found is to try to handle the ElementNotVisible exception that occurs when you try to send keys, or click on it. Unfortunately this only occurs after an attempt to interact with the element has been made. I'm using a recursive function to find elements with a certain value, and some of these elements are only visible in certain scenarios (but their html is still there no matter what, so they can be found).</p>
  
  <p>It's my understanding that the RenderedWebElement class is deprecated as well other variants. So no casting to that.</p>
  
  <p>Thanks.</p>