UNPKG

syphonx-core

Version:

SyphonX is a template-driven solution for extracting data from HTML in a highly efficient way. It combines the power of jQuery, Regular Expressions, and Javascript into a declarative template-driven format that extracts and reshapes HTML data into JSON.

13 lines (12 loc) 272 B
import { When } from "./When.js"; export interface Locator { name: string; frame?: string; selector: string; method?: LocatorMethod; params?: unknown[]; promote?: boolean; chain?: boolean; when?: When; } export type LocatorMethod = string;