donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
17 lines • 642 B
TypeScript
/**
* A query structure used to resolve specific a HTML element in a webpage.
*/
export type ElementSelector = {
/**
* An prioritized list of element selectors to use to attempt to resolve the
* desired element, going from most specific to least specific. The first
* element selector that is successfully used, wins, and the rest are ignored.
*/
readonly element: string[];
/**
* A selector for the corresponding frame of the element to select.
* If null, this means the primary frame of the page is used.
*/
readonly frame: string | null;
};
//# sourceMappingURL=ElementSelector.d.ts.map