Skip to main content
Bumped by Community user
Bumped by Community user
Bumped by Community user

I am using a POM in c#C# with xunitXunit as a framework,am and am getting error in pagefactory forfor the following code "PageFactory.InitElements(driver, login);" Error: "The name PageFactory does not exist in current context", what is the solution for this.

PageFactory.InitElements(driver, login);

Error: "The name PageFactory does not exist in current context", what is the solution for this?

am using POM in c# with xunit as a framework,am getting error in pagefactory for the following code "PageFactory.InitElements(driver, login);" Error: "The name PageFactory does not exist in current context", what is the solution for this.

I am using a POM in C# with Xunit as a framework, and am getting error in pagefactory for the following code:

PageFactory.InitElements(driver, login);

Error: "The name PageFactory does not exist in current context", what is the solution for this?

Source Link
Illyaz
  • 11
  • 1
  • 4

The name PageFactory does not exist in current context

am using POM in c# with xunit as a framework,am getting error in pagefactory for the following code "PageFactory.InitElements(driver, login);" Error: "The name PageFactory does not exist in current context", what is the solution for this.