Element.matches
bool matches(string selector) @scriptableIf the element matches the given selector. Previously known as matchesSelector.
bool matches(string selector) @scriptableIf the element matches the given selector. Previously known as matchesSelector.