Type Alias FindOptions<TN>

FindOptions: {
    parent?: Target | null;
    tagName?: TagName;
    withAttributes?: Attributes<TN> | AttributeName[] | AttributeName;
    withDataset?: Dataset | DatasetKey[] | DatasetKey;
    withSelector?: CssSelector;
}

Use to specify search criteria for finding element(s). You can find elements by selector, dataset entries, or attributes.

To search for the existence of an attribute or dataset property (not the value), set the value to null.

Type Parameters

Type declaration