waitForElementPresent() exits with error code 10 when used in promise function (async/await style) #2652
Unanswered
pawlakmaly
asked this question in
Help Needed
Replies: 1 comment 1 reply
-
@pawlakmaly Please use the the Discussions section in the future. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need a help with my code.
When I call waitForElementPresent inside a function that returning a Promise I correctly see in logs that element was not found but the runner ends up with error code 10 and no report is generated.
But when the function simply returns
What am I missing ? Could someone explain me what I'm doing wrong or is it a bug in Nightwatch runner ?
Beta Was this translation helpful? Give feedback.
All reactions