@sap_oss/wdio-qmate-service
Version:
[](https://api.reuse.software/info/github.com/SAP/wdio-qmate-service)[](http
27 lines (26 loc) • 828 B
TypeScript
interface ElementHighlightConfig {
enable: boolean;
duration?: number;
color?: string;
[key: string]: any;
}
/**
* @class ElementHighlight
* @memberof helper
*/
export declare class ElementHighlight {
private vlf;
/**
* @function getElementHighlightData
* @memberof helper
* @description - It is used to get the element highlight data based on the action method matched
* @returns - Promise object
* @param {string} actionName - action name is required
* @example await elementHighlight.getElementHighlightData("click");
*/
getElementHighlightData(actionName: string): Promise<ElementHighlightConfig>;
private _getElementHighlightConfig;
private _getElementHighlightColorAndDuration;
}
declare const _default: ElementHighlight;
export default _default;