How can I handle mixing async/await methods with NW chaining using .perform() ??? #2722
Unanswered
pawlakmaly
asked this question in
Help Needed
Replies: 1 comment 3 replies
-
That should be fine. What are the issues you encounter? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm not sure if I get it right but, using perform() and passing
done
argument to it I can execute any asynchronous code in a command chain. But does it work when I want to execute a chainable PO command in an async/await test case ?For example:
My Page Object command:
My test case:
Is this correct thinking ??? Or it should be done different (and how?) ?
Beta Was this translation helpful? Give feedback.
All reactions