Fix wait_for conversion between String to int
Fix wait_for default value to follow the documentation (documentation = 180, default value = 120=