title: Is there any alternative for PageFactory using net core
body: <p>I'm using Selenium v3.6.0 and .NET Core 2.0, the following code gives me an error on PageFactory.InitElements saying it doesn't exist in the currenct context.</p>
  
  <pre><code>using OpenQA.Selenium;
  using OpenQA.Selenium.Support.PageObjects;
  
  namespace Example
  {
      public class Form
      {
          [FindsBy(How = How.Name, Using = "Filter")] // This does exist in current context using .NET Core
          public IWebElement Filter { get; set; }
  
          [FindsBy(How = How.TagName, Using = "Button")]
          public IWebElement Button;
  
          public Form(IWebDriver driver)
          {
              PageFactory.InitElements(driver, this); // This doesn't exist in current context using .NET Core
          }
      }
  }
  </code></pre>
  
  <p>I'm a bit confused about this since the attributes FindsBy, FindsByAll and FindsBySequence are all available in the <code>OpenQa.Selenium.Support.PageObjects</code> namespace, but PageFactory is not. To my knowledge, these attributes only work with PageFactory.</p>
  
  <p>Is there a different approach to this using .NET Core or is it just not (yet) implemented?</p>