title: Base class for IWebElement on Selenium .NET driver?
body: <p>Selenium WebDriver with C#. </p>
  
  <p><strong>All I want to do is figure out what the base class for <code>IWebElement</code> is.</strong> </p>
  
  <p>I can't find it anywhere online. Can anyone here help me figure it out?</p>
  
  <p>I am starting to implement the PageObject design pattern. I have a PageObject called <code>Grid</code> that I want to be treated as an <code>IWebElement</code>, so it can do things like <code>.Click()</code>, .<code>GetAttribute()</code>, and <code>.SendKeys()</code>. When I do:</p>
  
  <pre><code>public class Grid : IWebElement
  {
  }
  </code></pre>
  
  <p>It forces me to implement all of the methods in <code>IWebElement</code>, but all I want them to do is default to their already implemented behavior.</p>
  
  <p>I figured the way to achieve this would be to find the base class that <code>IWebElement</code> extends from, and have grid extend from <strong>that</strong>, but I cannot find it anywhere.</p>
  
  <p>If anyone could help, <strong>or</strong> tell me a different way to achieve my goal of having <code>Grid</code> be treated as an <code>IWebElement</code>, I would very much appreciate it! Thanks in advance.</p>