qs2el Create an element from a query selector string. // as function const a = qs2el('a#home.special[data-page=home]'); // or as literal const button = qs2el`button${'.primary'}[disabled]`;