diogorb / playwright-specflow-pom-dotnet

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 git@github.com: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

If you need to install pwsh, use this command: dotnet tool install --global PowerShell

About

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

License:MIT License


Languages

Language:C# 93.1%Language:Gherkin 6.9%