1. deprecated
  2. Experimental()
  3. DomName('Document.querySelector')
Element query(String relativeSelectors)

Alias for querySelector. Note this function is deprecated because its semantics will be changing in the future.

Source

@deprecated
@Experimental()
@DomName('Document.querySelector')
Element query(String relativeSelectors) => querySelector(relativeSelectors);