def _wrap_el(self, value):
if isinstance(value, dict):<EOL><INDENT>return {k: self._wrap_el(v) for k, v in value.items()}<EOL><DEDENT>elif isinstance(value, WebElement):<EOL><INDENT>return {'<STR_LIT>': value.element_id}<EOL><DEDENT>elif isinstance(value, list) and not isinstance(value, str):<EOL><INDENT>return [self._wrap_el(item) for item in value]<EOL><DEDENT>else:<EOL><INDENT>return value<EOL><DEDENT>
Convert WebElement Object to {'Element': 1234}

        Args:
            value(str|list|dict): The local value.

        Returns:
            The wrapped value.