Sets the default type and name options for all following metadata requests.
Arguments:
| type | String | |
|---|---|---|
| Specify the expected location of metadata for the element. Possible values are 'class' (default): search in the class attribute, 'elem': search for an element inside the element being searched, and 'attr': search in a custom attribute on the element. | ||
| name | String | |
| The name of the tag or attribute for which to search depending on the value of the 'type' option. | ||
