UNPKG

flagpole

Version:

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

47 lines (46 loc) 1.96 kB
import { Browser, BrowserOptions } from "./browser"; import { BrowserResponse } from "./browserresponse"; import { CssResponse } from "./cssresponse"; import { DOMElement } from "./domelement"; import { ExtJSResponse } from "./extjsresponse"; import { HtmlResponse } from "./htmlresponse"; import { ImageResponse } from "./imageresponse"; import { jPath, iJPath } from "./jpath"; import { JsonResponse } from "./jsonresponse"; import { ResourceResponse } from "./resourceresponse"; import { ResponseType, GenericResponse, NormalizedResponse } from "./response"; import { Scenario } from "./scenario"; import { ScriptResponse } from "./scriptresponse"; import { Suite } from "./suite"; import { Value, iValue } from "./value"; import { VideoResponse } from "./videoresponse"; export { Suite, Scenario, Browser, BrowserOptions, BrowserResponse, CssResponse, DOMElement, ExtJSResponse, HtmlResponse, ImageResponse, JsonResponse, ResourceResponse, ResponseType, GenericResponse, NormalizedResponse, ScriptResponse, iValue, Value, VideoResponse, jPath, iJPath }; export declare enum FlagpoleOutput { console = 1, text = 2, json = 3, html = 4, csv = 5, tsv = 6, psv = 7, browser = 8 } export declare class Flagpole { static automaticallyPrintToConsole: boolean; static quietMode: boolean; static logOutput: boolean; protected static _output: FlagpoleOutput; protected static environment: string; static exitOnDone: boolean; static readonly output: FlagpoleOutput; static setEnvironment(env: string): void; static getEnvironment(): string; static setOutput(output: FlagpoleOutput | string): void; static exit(passed: boolean): void; static suite: typeof Flagpole.Suite; static Suite(title: string): Suite; static isNullOrUndefined(obj: any): boolean; static toType(obj: any): string; static uniqueId(): string; static openInBrowser(content: string): Promise<string>; }