At this topic, the following code snippet is given:
And the explanation is:
But, according to the zombie.js documentation of the assert.element() function, the second argument is supposed the be a message and not the number of elements found. To check that an element exists n number of times, assert.elements() should be used.
I hope you can correct this to prevent confusion in the future!