nightwatch
nightwatch copied to clipboard
[Enhancement] Click to contain and print custom message
I wish I could add a custom message that will print log that click has been done. Sometimes when we analyze logs to see if the failure was due to tester's fault or the application one it's difficult to find the root cause. If I had a "custom message" the way I do it when I call waitForElementVisible which instead of default log for this command prints my message.
Example:
- browser.click(selector, custom message, callback)
- browser.click("...someSelector", "Clicked Upload button")
Ok, this can be useful. We'll look into it for v2.