UNPKG

flagpole

Version:

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

80 lines (79 loc) 2.38 kB
import { Value } from './value'; import { iValue, iDOMElement, iAssertionContext } from './interfaces'; import { PuppeteerElement } from './puppeteerelement'; export declare const ExtJsComponentTypes: { actionsheet: string; audio: string; button: string; image: string; label: string; loadmask: string; panel: string; segmentedbutton: string; sheet: string; spacer: string; titlebar: string; toolbar: string; video: string; carousel: string; navigationview: string; datepicker: string; picker: string; slider: string; thumb: string; tabpanel: string; viewport: string; dataview: string; list: string; nestedlist: string; checkboxfield: string; datepickerfield: string; emailfield: string; hiddenfield: string; numberfield: string; passwordfield: string; radiofield: string; searchfield: string; selectfield: string; sliderfield: string; spinnerfield: string; textfield: string; textareafield: string; togglefield: string; treelist: string; urlfield: string; fieldset: string; formpanel: string; }; export declare class ExtJsComponent extends PuppeteerElement implements iValue, iDOMElement { protected _path: string; readonly path: string; readonly name: string; protected readonly _component: string; static create(referencePath: string, context: iAssertionContext, path: string): Promise<ExtJsComponent>; private constructor(); getType(): Promise<Value>; getId(): Promise<Value>; getWidth(): Promise<Value>; getHeight(): Promise<Value>; getSize(): Promise<Value>; getText(): Promise<Value>; getValue(): Promise<Value>; setValue(value: string): Promise<Value>; setData(value: string): Promise<Value>; getData(): Promise<Value>; disable(): Promise<Value>; enable(): Promise<Value>; hide(): Promise<Value>; show(): Promise<Value>; focus(): Promise<Value>; isHidden(): Promise<Value>; isVisible(): Promise<Value>; isEnabled(): Promise<Value>; isDisabled(): Promise<Value>; getProperty(propertyName: string): Promise<Value>; call(method: string, ...args: any[]): Promise<Value>; fireEvent(eventName: string): Promise<Value>; click(): Promise<any>; protected _eval(js: string): Promise<any>; }