* {{> seeNumberOfElements }} * *
(locator, num)
| 2546 | * |
| 2547 | */ |
| 2548 | async seeNumberOfElements(locator, num) { |
| 2549 | const elements = await this._locate(locator) |
| 2550 | return equals(`expected number of elements (${new Locator(locator)}) is ${num}, but found ${elements.length}`).assert(elements.length, num) |
| 2551 | } |
| 2552 | |
| 2553 | /** |
| 2554 | * {{> seeNumberOfVisibleElements }} |