Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
muodov authored May 24, 2024
1 parent 725aad5 commit d8425ab
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions lib/cmps/evidon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,13 @@ export default class Evidon extends AutoConsentCMPBase {
return true;
}

hideElements(getStyleElement(), "#evidon-prefdiag-overlay,#evidon-prefdiag-background");
this.click("#_evidon-option-button");
hideElements(getStyleElement(), "#evidon-prefdiag-overlay,#evidon-prefdiag-background,#_evidon-background");
await this.waitForThenClick("#_evidon-option-button");

await this.waitForElement("#evidon-prefdiag-overlay", 5000);

this.click("#evidon-prefdiag-decline");
await this.wait(500);
await this.waitForThenClick("#evidon-prefdiag-decline");
return true;
}

Expand Down

0 comments on commit d8425ab

Please sign in to comment.