title: What is the differnce between page object model and page factory in selenium?
body: <p>As it seems page object model and page factory is doing same thing. So i am confused. </p>
  
  <pre><code>IpmObjectInitializer initialize = new IpmObjectInitializer(driver.getWebDriver());
  </code></pre>
  
  <p>// Initialize elements in BatchCreationPageFactory class</p>
  
  <pre><code>batchCreationPageFactory = initialize.getBatchCreationPageFactoryObj();
  </code></pre>