Lesson:Locators - asserting with no matching elements

We are getting through the fundamentals of querying for elements with Vitest Browser Mode.

So far we have covered:

  • getting a single element
  • polling for elements (retrying until the assertion matches)
  • getting and running assertions on multiple elements

There is one big missing piece - checking when an element is not rendered!

In this lesson we will cover how to do that!

Loading full lesson...