docs: handleOverShadowing

This commit is contained in:
karishmas6
2024-06-08 00:41:39 +05:30
parent 4b13e1434f
commit ddfb31ce39

View File

@@ -595,7 +595,15 @@ export class WorkflowGenerator {
}
/**
* General over-shadowing handler.
* Checks for possible over-shadowed pairs and if found,
* adds the pair to the workflow in the correct way.
* @param pair The pair that could be over-shadowing.
* @param page The page to be used for checking the visibility and accessibility of the selectors.
* @private
* @returns {Promise<boolean>}
*/
private handleOverShadowing = async (pair: WhereWhatPair, page: Page, index: number): Promise<boolean> => {
const overShadowing = (await this.IsOverShadowingAction(pair, page))
.filter((p) => p.isOverShadowing);