UNPKG

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

13 lines (12 loc) 732 B
import { PageConfigTypes } from "../../../custom-types/pageConfig-types"; /** * Check the given property of the given element * @param {String} isCSS Whether to check for a CSS property or an * attribute * @param {String} attrName The name of the attribute to check * @param {String} elem Element selector * @param {String} falseCase Whether to check if the value of the * attribute matches or not * @param {String} expectedValue The value to match against */ export default function (isCSS: boolean, attrName: string, pageConfig: PageConfigTypes, falseCase: boolean, expectedValue: number | string): Promise<void>;