UNPKG

@uuv/assistant

Version:

UUV Helper used to improve the life of testers and developers by generating cucumber phrases from the GUI.

20 lines (19 loc) 778 B
/** * Software Name : UUV * * SPDX-License-Identifier: MIT * * This software is distributed under the MIT License, * see the "LICENSE" file for more details * * Authors: NJAKO MOLOM Louis Fredice & SERVICAL Stanley * Software description: Make test writing fast, understandable by any human * understanding English or French. */ import { TranslateSentences } from "./model"; export declare class TextualTranslator { static computeSentence(element: HTMLElement | SVGElement | Element): Promise<TranslateSentences | null>; static computeTextContentSentence(textContent: string): TranslateSentences; static isTextualNode(element: HTMLElement | SVGElement | Element): boolean; static getTextContent(element: HTMLElement | SVGElement | Element): string; }