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