Allow configurable wait for clickAndWait