chrec-core
Version:
ChRec's core business logic and model for testing HTML locator robustness
12 lines (11 loc) • 352 B
TypeScript
/**
* This class just exists, because Microsoft-Browsers and Typescript do not implement the common DOMRect object.
*/
export declare class BoundingBox {
x: number;
y: number;
width: number;
height: number;
static fromDOMRect(domRect: DOMRect): BoundingBox;
constructor(x: number, y: number, width: number, height: number);
}