Function: toCssSelector()
toCssSelector(
locator,interactor):Promise<string>
Defined in: packages/core/src/utils/locatorUtil.ts:74
Reduce a PartLocator to the single CSS selector the interactor runs against the DOM. This is the one locator-resolution seam in the system, and it is CSS-only by design for 1.0 — every locator must express itself as CSS here (see ADR-008).
Parameters​
locator​
interactor​
Returns​
Promise<string>