flagpole
Version:
Simple and fast DOM integration, headless or headful browser, and REST API testing framework.
13 lines (12 loc) • 570 B
TypeScript
import { ResponseType } from "./enums";
import { iResponse, iValue } from "./interfaces";
import { PuppeteerResponse } from "./puppeteerresponse";
import { PuppeteerElement } from "./puppeteerelement";
export declare class BrowserResponse extends PuppeteerResponse implements iResponse {
get responseTypeName(): string;
get responseType(): ResponseType;
find(path: string): Promise<iValue>;
findAll(path: string): Promise<PuppeteerElement[]>;
findXPath(xPath: string): Promise<iValue>;
findAllXPath(xPath: string): Promise<PuppeteerElement[]>;
}