tlc-core-automation-framework-v3-wdio-v9
Version:
Background: - We are following multi-layer automation framework architecture using webdriver.io + cucumber + typescript This core framework has been implemented with generic utility functions and cucumber steps, which can be easily consumed by another fra
16 lines (15 loc) • 744 B
TypeScript
import { PageConfigTypes } from "../../custom-types/pageConfig-types";
export declare class ConfigHelper {
static isPageMappedInTheFramework(pageId: string, pageConfig: Record<string, string>): boolean;
static getValueFromJsonFileUsingKey(pageConfig: Record<string, string>, userKey: string): string;
static getLocatorFromCurrentPage(componentName: string, elementKey: string, data?: {
[k: string]: any;
}): string;
static generateLocatorForSelectedComponent(fileLocation: string, elementKey: string, data?: {
[k: string]: any;
}): string;
static getCurrentPageId(currentUrl: string): string;
static getPageConfig(pageObject: string, data?: {
[k: string]: any;
}): PageConfigTypes;
}