headzoo / surf

Stateful programmatic web browsing in Go.
MIT License
1.48k stars 159 forks source link

Fix assumption that all input fields in a form have a value attribute. #12

Closed charl closed 9 years ago

charl commented 9 years ago

Fix assumption that all input fields in a form have a value attribute. If no value is found in the form we default to "".

Not doing this causes all form input fields that have no value attribute to be elided from the list of form fields we can set.