Fixes misprint in condition in Select.select_by_index method.

It will fix case when selection is performed by index at multiple select element.
Fixes too big timeouts during setting path in File dialog.

Also 2 unused variables are removed.
add local test for checking HTTP manual proxy