Fixes for SMS and improve parameter processing

getElement() internally performs a wait_for_element_displayed. I think you don't need this line.