Detecting more variations of select box element

There are cases where the select box has either no Id or name. This change makes it possible to detect those kind of select boxes.