Ossa.TestFramework.UIIntegration.Playwright 0.4.0-alpha0054

This is a prerelease version of Ossa.TestFramework.UIIntegration.Playwright.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Ossa.TestFramework.UIIntegration.Playwright --version 0.4.0-alpha0054
NuGet\Install-Package Ossa.TestFramework.UIIntegration.Playwright -Version 0.4.0-alpha0054
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Ossa.TestFramework.UIIntegration.Playwright" Version="0.4.0-alpha0054" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Ossa.TestFramework.UIIntegration.Playwright --version 0.4.0-alpha0054
#r "nuget: Ossa.TestFramework.UIIntegration.Playwright, 0.4.0-alpha0054"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Ossa.TestFramework.UIIntegration.Playwright as a Cake Addin
#addin nuget:?package=Ossa.TestFramework.UIIntegration.Playwright&version=0.4.0-alpha0054&prerelease

// Install Ossa.TestFramework.UIIntegration.Playwright as a Cake Tool
#tool nuget:?package=Ossa.TestFramework.UIIntegration.Playwright&version=0.4.0-alpha0054&prerelease

Ossa.TestFramework.UIIntegration.Playwright

Overview

This package based on Playwright and C# provides a set of methods and test project configuration to speed up UI/Integration tests. Along with configuration assistance to support the Ossa.TestFrameWorkTemplates 'ossa-test-playwright' template, the test methods are designed to be consitent across both Ossa.TestFramework.UIIntegration.Selenium and Ossa.TestFramework.UIIntegration.Playwright packages.

The package provides functionality for organising actions in Steps, and provides a simple interface for performing common UI test actions and selection methods.

Advantages are:

  • reduced reliance on complex selectors
  • Tested helper methods for dropdowns, iframes, slider/range inputs, and more
  • Automatic snapshots after each user step and snapshot on error/test failure

Getting Started

Install the package to your integration project using nuget manager or from the dotnet command line: dotnet new add Ossa.TestFramework.UIIntegration.Playwright or install the startertemplate

Starter integration project

See nuget package Ossa.TestFramework.Templates for a starter project and install the ossa-test-playwright template.

Prerequisites

  • Recommended Visual studio 2022 or later
  • .NET 8.0 or later

Usage

Ossa.TestFramework.Templates for a starter project example or see the devops WIKI. Main components are PlaywrightBrowserSession (implementing IBrowserSession) and PlaywrightByLocator (implemeting IByLocator). Which can be used to implement a PageObject pattern for your tests

Want to implement some additional playwright code? Simply use the PlaywrightBylocator.Selector to obtain a Playwright 'locator' object you can work with

Additional documentation

Codegen

You can run the Playwright codegen tool from the build directory. This tool can be used to identify elements, create locators in order to build a page object model. powershell bin/Debug/net6.0/playwright.ps1 codegen' or 'powershell bin/Debug/net7.0/playwright.ps1 codegen

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0-alpha0720 56 6/7/2024
1.0.1 89 6/7/2024
1.0.0-beta0001 55 6/7/2024
0.4.0 65 6/7/2024
0.4.0-alpha0054 57 6/7/2024
0.4.0-alpha0049 55 6/7/2024
0.4.0-alpha0048 57 6/7/2024
0.4.0-alpha0041 61 6/7/2024
0.4.0-alpha0039 60 6/6/2024
0.4.0-alpha0038 58 6/6/2024
0.4.0-alpha0037 61 6/6/2024
0.4.0-alpha0025 58 6/6/2024
0.4.0-alpha0017 59 6/6/2024
0.4.0-alpha0016 59 6/6/2024
0.4.0-alpha0014 51 6/5/2024
0.4.0-alpha0012 42 6/5/2024
0.4.0-alpha0010 55 6/5/2024
0.4.0-alpha0007 54 6/5/2024
0.4.0-alpha0006 68 6/5/2024
0.4.0-alpha0004 60 6/5/2024
0.4.0-alpha0003 56 6/5/2024
0.4.0-alpha0002 54 6/5/2024
0.4.0-alpha0001 58 6/5/2024
0.2.0-fastertests-ah0001 127 6/3/2024
0.2.0-alpha0705 75 6/4/2024
0.2.0-alpha0701 65 6/3/2024
0.2.0-alpha0696 65 6/3/2024
0.2.0-alpha0692 63 6/3/2024
0.2.0-alpha0690 62 6/3/2024
0.2.0-alpha0688 65 6/3/2024
0.2.0-alpha0670 67 6/3/2024
0.2.0-alpha0668 69 6/2/2024
0.2.0-alpha0662 71 5/30/2024
0.2.0-alpha0651 71 5/29/2024
0.2.0-alpha0650 66 5/29/2024
0.2.0-alpha0641 68 5/29/2024
0.2.0-alpha0639 70 5/29/2024
0.2.0-alpha0634 68 5/28/2024
0.2.0-alpha0622 65 5/28/2024
0.2.0-alpha0617 104 5/24/2024
0.2.0-alpha0608 80 5/23/2024
0.2.0-alpha0602 79 5/23/2024
0.2.0-alpha0598 80 5/23/2024
0.2.0-alpha0596 72 5/22/2024
0.2.0-alpha0593 77 5/22/2024
0.2.0-alpha0583 74 5/22/2024
0.2.0-alpha0581 73 5/22/2024
0.2.0-alpha0576 73 5/21/2024
0.2.0-alpha0575 76 5/21/2024
0.2.0-alpha0563 76 5/21/2024
0.2.0-alpha0561 86 5/21/2024
0.2.0-alpha0548 74 5/20/2024
0.2.0-alpha0547 63 5/20/2024
0.2.0-alpha0539 67 5/17/2024
0.2.0-alpha0501 83 5/10/2024
0.2.0-alpha0433 62 5/2/2024
0.2.0-alpha0408 83 4/28/2024
0.2.0-alpha0401 116 4/22/2024
0.2.0-alpha0399 76 4/19/2024
0.2.0-alpha0398 77 4/18/2024
0.2.0-alpha0396 71 4/18/2024
0.2.0-alpha0395 70 4/18/2024
0.2.0-alpha0352 70 4/18/2024
0.2.0-alpha0350 77 4/18/2024
0.2.0-alpha0349 81 4/17/2024
0.2.0-alpha0347 88 4/16/2024
0.2.0-alpha0346 92 4/12/2024
0.2.0-alpha0345 78 4/12/2024
0.2.0-alpha0339 77 4/12/2024
0.2.0-alpha0337 75 4/11/2024
0.2.0-alpha0335 75 4/11/2024
0.2.0-alpha0333 73 4/10/2024
0.2.0-alpha0309 78 4/10/2024
0.2.0-alpha0307 75 4/4/2024
0.2.0-alpha0305 83 4/3/2024
0.2.0-alpha0303 79 4/2/2024
0.2.0-alpha0294 85 4/1/2024
0.2.0-alpha0293 86 3/28/2024
0.2.0-alpha0292 81 3/28/2024
0.2.0-alpha0291 83 3/27/2024
0.2.0-alpha0290 94 3/27/2024
0.2.0-alpha0283 102 3/26/2024
0.2.0-alpha0273 94 3/24/2024
0.2.0-alpha0271 85 3/24/2024
0.2.0-alpha0264 75 3/24/2024
0.2.0-alpha0260 80 3/24/2024
0.2.0-alpha0258 81 3/24/2024
0.2.0-alpha0234 91 3/21/2024
0.2.0-alpha0218 100 3/20/2024
0.2.0-alpha0217 87 3/19/2024
0.2.0-alpha0212 90 3/19/2024
0.2.0-alpha0204 90 3/18/2024
0.2.0-alpha0202 106 3/18/2024