In Codeceptjs, I don't find a way to count the number a certain element is present on the page. The I.assertNumber
in the example is some kind of made up clause to hopefully express better what I am looking for.
Scenario('test something', (I) => {
I.amOnPage('http://example.com`);
I.assertNumber((locate('div.someclass'),20);
.. }