/** * navigation-detection.skill.ts * * Detects navigation elements (menus, sidebars, tab bars, links) on the current * page and generates locators for them. * * This skill examines the navigation and tab elements found by the DOMAnalyzer * and builds Playwright locator expressions for each, preferring visible text or * label over raw CSS selectors. * * The skill is triggered automatically when the page has at least one navigation * element (navigation.length > 0). * * Confidence is fixed at 0.8 — navigation detection is reliable when element * text or labels are available. * * Role in the overall flow: * SkillOrchestrator.autoExecute() → NavigationDetectionSkill.execute() * (when navigation.length > 0) → selectors returned in SkillResult */ import { SkillContext, SkillResult } from '../types'; import { BaseSkill } from './base.skill'; /** * Identifies navigation links, menu items, and tabs, and generates locators for them. */ export declare class NavigationDetectionSkill extends BaseSkill { readonly name = "navigation-detection"; /** * Detect navigation and tab elements and return their locators. * * @param ctx - The skill context with the full page analysis. * @returns A SkillResult with locators for navigation links and tab elements, * and metadata with counts. */ execute(ctx: SkillContext): Promise; } //# sourceMappingURL=navigation-detection.skill.d.ts.map