UNPKG

flagpole

Version:

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

14 lines (13 loc) 587 B
import { iResponse, GenericResponse, NormalizedResponse, ResponseType } from "./response"; import { Scenario } from "./scenario"; import { CSSRule } from './cssrule'; export declare class CssResponse extends GenericResponse implements iResponse { protected css: any; readonly typeName: string; readonly type: ResponseType; constructor(scenario: Scenario, response: NormalizedResponse); evaluate(context: any, callback: Function): Promise<any>; find(path: string): Promise<CSSRule>; findAll(path: string): Promise<CSSRule[]>; protected validate(): void; }