UNPKG

flagpole

Version:

Simple and fast DOM integration, headless or headful browser, and REST API testing framework.

12 lines (11 loc) 627 B
import { HttpResponse } from "../http/http-response"; import { HtmlResponse } from "../html/html-response"; import { ValuePromise } from "../value-promise"; import { iResponse, iValue } from ".."; import { FindAllOptions, FindOptions } from "../interfaces/find-options"; export declare class XmlResponse extends HtmlResponse implements iResponse { init(httpResponse: HttpResponse): void; private normalizeSelector; find(selector: string, a?: string | RegExp | FindOptions, b?: FindOptions): ValuePromise; findAll(selector: string, a?: string | RegExp | FindAllOptions, b?: FindAllOptions): Promise<iValue[]>; }