code: def set_text(self, text):
          '''set the text field.'''
          if text in [None, ""]:
              return self.jsonrpc.clearTextField(self.selector)  # TODO no return
          else:
              return self.jsonrpc.setText(self.selector, textf set_text(self, text):
          '''set the text field.'''
          if text in [None, ""]:
              return self.jsonrpc.clearTextField(self.selector)  # TODO no return
          else:
              return self.jsonrpc.setText(self.selector, text)
docs: set the text field.