$$
The $$
command is a short way to call the findElements
command in order
to fetch multiple elements on the page similar to the $$
command from the browser scope. The difference when calling
it from an element scope is that the driver will look within the children of that element.
info
For more information on how to select specific elements, check out the Selectors guide.
#
Usage#
ParametersName | Type | Details |
---|---|---|
selector | String , Function , Matcher | selector, JS Function, or Matcher object to fetch multiple elements |
#
Examplesindex.html
$.js