UNPKG

chromancer

Version:

A powerful command-line interface for automating Chrome browser using Playwright. Perfect for web scraping, automation, testing, and browser workflows.

17 lines (16 loc) 597 B
/** * Normalizes CSS selectors to ensure they work correctly when passed through YAML */ export declare function normalizeSelector(selector: string | any): string | any; /** * Validates a CSS selector to ensure it's properly formatted */ export declare function isValidSelector(selector: string): boolean; /** * Formats a selector for display in error messages */ export declare function formatSelectorForError(selector: string | any): string; /** * Suggests corrections for common selector issues */ export declare function suggestSelectorFix(selector: string, error?: string): string[];