Made clickAndWait pause. Fixed selectors with square brackets. Refactoring side2nw code to be more testable.