chrec-core
Version:
ChRec's core business logic and model for testing HTML locator robustness
10 lines (9 loc) • 581 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 Submit extends HtmlElementAction {
constructor(testResults: HtmlElementActionTestResult[], image: string, locators: Locator[], boundingBox: BoundingBox, id?: string);
testElement(driver: WebDriver, element: WebElement): Promise<void>;
}