Browsed by
Tag: Fragile Locators

C# PageFactory – Wrap your WebDriver calls

C# PageFactory – Wrap your WebDriver calls

This entry is part 4 of 5 in the series Building a .Net Core PageFactory Framework

In my attempts to keep things simple I am going to explain my approach one thing at a time. To start with I will show a simple approach to making WebDriver calls. Starting point Last time I defined a PageController class that handled basics like Url and PageTitle. I’m not really concerned with those here, but lets merge them with my code from the previous post avoiding using properties. Refactoring As my goal is not to change behaviour, the best…

Read More Read More