Allow optionally pass raw htmlelement

Allows the choice of passing an array of htmlelements or a selector string.