code: def prepare_terminal_session(self):
          
          for cmd in self.driver.prepare_terminal_session:
              try:
                  self.send(cmd)
              except CommandSyntaxError:
                  self.chain.connection.log("Command not supported or not authorized: '{}'. Skipping".format(cmd))
                  pass
docs: Send commands to prepare terminal session configuration.