Skip to content

Commit

Permalink
remove unnecessary comment
Browse files Browse the repository at this point in the history
  • Loading branch information
gravityvi committed Aug 24, 2023
1 parent 47ab13f commit 7dfb6d3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/api/web-element/waitUntil.js
Expand Up @@ -92,7 +92,6 @@ class WaitUntil {

const webElement = await webElementPromise;

//TODO: handle for present and not.present action.
if (!webElement && !['present', 'not.present'].includes(this.action)) {
throw new NoSuchElementError({element: this.scopedElementLocator, abortOnFailure: this.abortOnFailure});
}
Expand Down

0 comments on commit 7dfb6d3

Please sign in to comment.