Selenium PageFactory does not work in .NET Core 2.0

In this post we will discuss one of the recent burning issue with Selenium PageFactory which does not work in .NET Core 2.0 framework.

Selenium 3.6.0 and 3.7.0 are the first official package to natively support .Net Standard 2.0 as opposed to earlier version which even though works in .NET Core 2.0 framework, will still see warnings in references as shown below


But the problem now with Selenium 3.6.0 and Selenium 3.7.0 is its missing one of the most important Class PageFactory used for Page Object Model and Page Navigation, which we can literally see from the Object browser of visual studio in comparison with .NET framework 4.7


Here is the change log of Selenium 3.6.0

Here is the complete video of the above discussion

Thanks for reading the post and watching the video!!!

Please leave your comments and let me know if there is anything I should update in this post.

Karthik KK

Leave a Reply

Your email address will not be published. Required fields are marked *