Class WebRoleMap

Namespace
ProtoTest.Web
Assembly
ProtoTest.Web.dll

The role vocabulary every backend resolves: the canonical lowercase ARIA name. Playwright resolves roles natively through its ARIA engine; Selenium translates the name to XPath. Public so additional backend packages translate identically, next to WebXPath for the same reason.

public static class WebRoleMap
Inheritance
WebRoleMap
Inherited Members

Methods

AriaName(WebRole)

The lowercase ARIA name a role is matched by: img for Image, listitem for ListItem.

public static string AriaName(WebRole role)

Parameters

role WebRole

Returns

string