<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def reset_actions(self):
 """ Clears actions that are already stored locally and on the remote end """

        if self._driver.w3c:
            self.w3c_actions.clear_actions()
        self._actions = []