maxgalbu / nightwatch-custom-commands-assertions

Nightwatch.js custom commands and assertions
MIT License
136 stars 32 forks source link

Question: elementHasChildrenCount #28

Closed 9av1n-j0hn50n closed 5 years ago

9av1n-j0hn50n commented 6 years ago

Hi,

I've been trying to implement a solution which counts the number of elements on a page and then passes the test if there <=26 of the required elements.

Is this possible using this assertion?

Many thanks!