code: def perform(self):
          
          if self._driver.w3c:
              self.w3c_actions.perform()
          else:
              for action in self._actions:
                  action()
docs: Performs all stored actions.