Trumpf.Coparoo.Playwright.Controls
2.1.0
See the version list below for details.
dotnet add package Trumpf.Coparoo.Playwright.Controls --version 2.1.0
NuGet\Install-Package Trumpf.Coparoo.Playwright.Controls -Version 2.1.0
<PackageReference Include="Trumpf.Coparoo.Playwright.Controls" Version="2.1.0" />
<PackageVersion Include="Trumpf.Coparoo.Playwright.Controls" Version="2.1.0" />
<PackageReference Include="Trumpf.Coparoo.Playwright.Controls" />
paket add Trumpf.Coparoo.Playwright.Controls --version 2.1.0
#r "nuget: Trumpf.Coparoo.Playwright.Controls, 2.1.0"
#:package Trumpf.Coparoo.Playwright.Controls@2.1.0
#addin nuget:?package=Trumpf.Coparoo.Playwright.Controls&version=2.1.0
#tool nuget:?package=Trumpf.Coparoo.Playwright.Controls&version=2.1.0
Trumpf.Coparoo.Playwright.Controls
Pre-built control objects for web testing with Playwright based on the Coparoo pattern.
Overview
This library provides a comprehensive set of ready-to-use control objects that simplify web testing by encapsulating common HTML elements and their behaviors. All controls follow the control/page/root-object (Coparoo) pattern and integrate seamlessly with Playwright-based web tests.
Features
Basic HTML Controls
- Button - Clickable button elements
- TextInput - Text input fields with type and clear operations
- Checkbox - Checkbox elements with checked state management
- Label - Label elements for displaying text
- Link - Hyperlink elements with navigation capabilities
- Div - Generic div container elements
- Span - Inline span elements
- Cite - Citation elements
Complex Controls
Select Control
- Select - Dropdown/select elements
- Option - Individual options within select elements
Table Control
- Table - Complete table structure
- Head - Table header section
- Body - Table body section
- Foot - Table footer section
- Row - Table rows with cell access
- Cell - Individual table cells
- Segment - Generic table segment (head/body/foot base class)
Usage
All controls inherit from ControlObject and implement corresponding interfaces (e.g., IButton, ITextInput). This design allows for:
- Type safety - Strong typing for all control interactions
- Testability - Easy mocking through interfaces
- Extensibility - Simple creation of custom controls
- Maintainability - Clear separation of concerns
Example
public class LoginPage : PageObject
{
public virtual ITextInput Username => Find<TextInput>();
public virtual ITextInput Password => Find<TextInput>();
public virtual IButton LoginButton => Find<Button>();
}
Dependencies
- Trumpf.Coparoo.Playwright - Core Coparoo framework
- Microsoft.Playwright - Playwright for .NET
- System.Linq.Async - Async LINQ support
Documentation
For more information about the Coparoo pattern and usage examples, see:
- PATTERN.md - Pattern explanation
- DEMO.md - Usage demos
- DECOUPLING.md - Decoupling strategies
License
Licensed under the Apache License, Version 2.0. See LICENSE for details.
Contributing
This is part of the Trumpf.Coparoo.Playwright project. For contributions and issues, visit: https://github.com/trumpf-code/Trumpf.Coparoo.Playwright
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 was computed. 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 was computed. 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.Playwright (>= 1.54.0)
- System.Linq.Async (>= 6.0.1)
- Trumpf.Coparoo.Playwright (>= 2.1.0)
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 |
|---|---|---|
| 2.2.0-beta2 | 36 | 1/8/2026 |
| 2.2.0-beta.7 | 35 | 1/10/2026 |
| 2.2.0-beta.5 | 32 | 1/9/2026 |
| 2.2.0-beta.4 | 38 | 1/9/2026 |
| 2.2.0-beta.3 | 39 | 1/9/2026 |
| 2.2.0-beta.1 | 32 | 1/8/2026 |
| 2.1.0 | 211 | 10/27/2025 |
| 2.0.0 | 151 | 10/24/2025 |
| 2.0.0-beta12 | 177 | 10/23/2025 |
| 2.0.0-beta11 | 174 | 10/23/2025 |