title: Selenium 2: Webdriver : How to create my custom wrapper class for selenium components?
body: <p>I want to develop my selenium testing framework using custom web elements like MyWebDriver, MyWebElement etc. instead of using those provided by selenium. I think I need to create custom wrapper classes for using my defined elements. I have been struggling for two hours. Can anyone please help me with this?</p>
  
  <p>What I want to do is use custom elements in my <code>PageObject</code> Pattern like this :</p>
  
  <pre><code>private MyWebElement element;
  private MyWebDriver driver;
  </code></pre>