@coralogix/browser
Version:
Official Coralogix SDK for browsers
15 lines (14 loc) • 964 B
TypeScript
import { CoralogixBrowserSdkConfig } from '../../types';
export declare function extractActionName(el: Element | HTMLElement | null): string;
export declare function extractAriaLabel(el: Element | HTMLElement | null): string;
export declare function extractTestId(el: Element | HTMLElement | null): string;
export declare function extractResolvedName({ element, clickableElement, config, actionName, ariaLabel, }: {
element: Element | HTMLElement | null;
clickableElement: Element | HTMLElement | null;
config: CoralogixBrowserSdkConfig;
actionName: string;
ariaLabel: string;
}): string;
export declare function extractMaskedOrTextContent(clickableElement: Element | HTMLElement | null, config: CoralogixBrowserSdkConfig): string;
export declare function getClassName(element: Element | HTMLElement): string;
export declare function findClickableElement(element: Element | HTMLElement | null, maxDepth?: number): Element | HTMLElement | null;