Closed georgecrawford closed 8 years ago
The commandName
value is only used to announce the command with the beforeCommand
and afterCommand
hooks. It's useful for these hooks to also receive the namespace, so they can properly identify which command was run (e.g. differentiating browser.url()
from browser.mynamespace.url()
). These hooks now get url
and namespace.url
as the command name.
:+1:
Can you give me a bit context to this change?