all
Using the all method, you can get all elements on the page that match a CSS selector, and return an array containing instances of these elements.
- I am 1
- I am 2
- I am 3
Get Child Elements
Instances also have the all method, which can be used to select and retrieve child elements.
- I am 1
- I am 2
- I am 3