flagpole
Version:
Simple and fast DOM integration, headless or headful browser, and REST API testing framework.
9 lines (8 loc) • 435 B
TypeScript
import { ProtoResponse } from "./response";
import { iValue } from "./interfaces";
export declare abstract class DOMResponse extends ProtoResponse {
abstract find(path: string): Promise<iValue>;
abstract findAll(path: string): Promise<iValue[]>;
findAllHavingText(selector: string, searchForText: string | RegExp): Promise<iValue[]>;
findHavingText(selector: string, searchForText: string | RegExp): Promise<iValue>;
}