Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
CSS matchers give Selenium WebDriver the ability to search the DOM using complex criteria. In this video we will cover how to construct complex queries using CSS and to discuss what we can do with CSS that could not be done with previous finders
Learn more
Concerns
If you are not sure if the browser you are testing supports your pseudo-class you can check on Can I Use. For instance, if you wanted to check the is the :valid
pseudo class, you'd search for it. The Mozilla Developer Network also provides Browser Compatibility tables.
You need to sign up for Treehouse in order to download course files.
Sign up