Select DOM Elements Using CSS OR Selector

Опубликовано: 12 Январь 2024
на канале: gleb bahmutov
428
15

This video shows how to use CSS OR selector comma operator to grab multiple elements from the page. Remember: the order of the elements will be the order of the elements in the document NOT in the order specified in the selector. I also show how to expand the number of selected elements inside the jQuery subject by invoking the jQuery method "add" https://api.jquery.com/add/ Find this recipe at https://glebbahmutov.com/cypress-exam...