flagpole
Version:
Simple and fast DOM integration, headless or headful browser, and REST API testing framework.
11 lines (10 loc) • 381 B
TypeScript
import { ProtoValue } from './value';
export declare class Element extends ProtoValue {
hasClass(className: string): Promise<boolean>;
getTagName(): Promise<string | null>;
getAttribute(key: string): Promise<any>;
getProperty(key: string): Promise<any>;
getData(key: string): Promise<any>;
getValue(): Promise<any>;
getText(): Promise<string | null>;
}