Change to use getTextContent() instead of asText() which only returned the selected/first option from html select
Add fields required to publish in maven repo
Test to verify as text for html select
Add hasOptions to quickly verify multiple value=name pairs