Connection to Healenium proxy is configured in BaseHealeniumTest.cs:
var wsEndpoint = Environment.GetEnvironmentVariable("PLAYWRIGHT_SERVER_URL")
?? "ws://localhost:8095/hlm-playwright-proxy";
_browser = await _playwright.Chromium.ConnectAsync(wsEndpoint, new BrowserTypeConnectOptions
{
Timeout = 60000
});dotnet restore
dotnet buildInstall Playwright browsers (if running without Healenium proxy):
pwsh bin/Debug/net8.0/playwright.ps1 installOr use the system-wide Playwright:
playwright installSee healenium docker-compose. If the Playwright server is not running with the playwright-proxy, run it separately:
npx -y playwright run-server --port 5050Connection to the proxy is configured in BaseHealeniumTest.cs.
All tests:
dotnet testFilter by test class (e.g. locator chain tests):
dotnet test --filter "FullyQualifiedName~LocatorChainTests"Run a single test:
dotnet test --filter "FullyQualifiedName~Simple_chain_form_then_getByPlaceholder"BaseHealeniumTest.cs– base class that connects to the Healenium Playwright proxy and providesPageand common timeouts.tests/test-env/playwright-specific/– Playwright Locator API tests (chained locators, getBy, actions, expect, iframe, drag-drop, utility, pseudo-class).tests/test-env/selenium-like-locator-api/– Selenium-like locator tests (CSS, XPath, simple, general, parent-child).