buildCSSPath function presentation exported

Last updated: 2026-03-05T12:26:14.062Z

Metrics

LOC: 3 Complexity: 1 Params: 1

Signature

buildCSSPath(el: Element): : string

Summary

Returns the CSS path string for an element (the fallback CSS strategy value). Exported so other modules (e.g. action-recorder) can use the same path logic.

Source Code

export function buildCSSPath(el: Element): string {
  return buildFallbackCSS(el).value;
}

Dependencies (Outgoing)

graph LR buildCSSPath["buildCSSPath"] buildFallbackCSS["buildFallbackCSS"] buildCSSPath -->|calls| buildFallbackCSS style buildCSSPath fill:#dbeafe,stroke:#2563eb,stroke-width:2px click buildCSSPath "2f2f3878eed47f3f.html" click buildFallbackCSS "9e270d9c7136a3da.html"
TargetType
buildFallbackCSS calls

Impact (Incoming)

graph LR buildCSSPath["buildCSSPath"] StepCallback["StepCallback"] buildQuickSelector["buildQuickSelector"] createElement["createElement"] StepCallback -->|uses| buildCSSPath buildQuickSelector -->|calls| buildCSSPath createElement -->|uses| buildCSSPath style buildCSSPath fill:#dbeafe,stroke:#2563eb,stroke-width:2px click buildCSSPath "2f2f3878eed47f3f.html" click StepCallback "8f74ebbf77923c0f.html" click buildQuickSelector "077a2e134af1a6be.html" click createElement "de25c17a3a1487d3.html"
SourceType
StepCallback uses
buildQuickSelector calls
createElement uses