title: Code generation for WebDriver PageObjects
body: <p>I am trying to create some sort of code generation for Page Object in WebDriver.</p>
  
  <p>I read about it, and watch the next lecture:
  <a href="http://www.youtube.com/watch?v=mSCFsUOgPpw" rel="nofollow">http://www.youtube.com/watch?v=mSCFsUOgPpw</a></p>
  
  <p>I also saw some tools which create a page object for each new page in my application, So I know how to identify and create WebElement which relevant for me (by ID or XPath), and create a new page object. </p>
  
  <p>But I have 2 main problems:</p>
  
  <ol>
  <li>How I can know what to to with these elements? Some of them need to be clicked, some need to send keys, some need to be click and then press ENTER, etc.</li>
  <li>Navigation - In my test code, I want to navigate between by pages (This is all about Page pattern). How can I know the connection between my page objects?</li>
  </ol>