Skip to content

Example of how to use Playwright with SpecFlow and Page Object Models in .NET (C#).

License

Notifications You must be signed in to change notification settings

hippo-digital/playwright-specflow-pom-dotnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

playwright-specflow-pom-dotnet

This project is for the purpose of showing a working example of how to use Playwright with SpecFlow and Page Object Models (POM) in .NET (C#).

It has been created to complement a blog post which gives a step-by-step guide on creating a new test project using Playwright/SpecFlow/POM. Find this on the Hippo Digital Medium blog:

How to use Playwright with SpecFlow and Page Object Models in .NET (C#) - Medium

Run the project locally

1. Checkout the project

git clone [email protected]:hippo-digital/playwright-specflow-pom-dotnet-c.git

2. Install NuGet packages

nuget restore (at project root)

3. Run the tests

From terminal: dotnet test (at project root)

Or using the test controls in your IDE