code: def push_pending_elem(self, element, pseudo):
          
          self.push_target_elem(element, pseudo)
          elem = etree.Element('div')
          actions = self.state[self.state['current_step']]['actions']
          actions.append(('move', elem))
          actions.append(('target', Target(elem)))
docs: Create and place pending target element onto stack.