chrec-core
Version:
ChRec's core business logic and model for testing HTML locator robustness
11 lines (10 loc) • 611 B
TypeScript
import { WebDriver, WebElement } from 'selenium-webdriver';
import { HtmlElementActionTestResult } from '../../action-test-result/html-element-action-test-result';
import { BoundingBox } from '../../bounding-box';
import { Locator } from '../../locator';
import { HtmlElementAction } from '../html-element-action';
export declare class Read extends HtmlElementAction {
text: string;
constructor(testResults: HtmlElementActionTestResult[], image: string, locators: Locator[], boundingBox: BoundingBox, text: string, id?: string);
testElement(driver: WebDriver, element: WebElement): Promise<void>;
}