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
11 lines (10 loc) • 583 B
TypeScript
import { PageConfigTypes } from "../../../custom-types/pageConfig-types";
/**
* Check the offset of the given element
* @param {String} selector Element selector
* @param {String} falseCase Whether to check if the offset matches
* or not
* @param {String} expectedPosition The position to check against
* @param {String} axis The axis to check on (x or y)
*/
export default function (pageConfig: PageConfigTypes, falseCase: boolean, expectedPosition: string, axis: 'x' | 'y'): Promise<void>;