{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/es/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Leer datos del elemento"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"leer-datos-del-elemento","__idx":0},"children":["Leer datos del elemento"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tipo de nodo ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["browser_getElement"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"qué-hace","__idx":1},"children":["Qué hace"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Lee el texto, el HTML o el atributo indicado de uno o varios elementos coincidentes."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"configuración-en-el-cliente-de-escritorio","__idx":2},"children":["Configuración en el cliente de escritorio"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/get-element.82353332a27b2e6642fd4415f67643de4e56d5a746cdd0b78d45b21816b4abc8.0538f3a9.webp","alt":"Configuración del nodo \"Leer datos del elemento\" en el cliente de escritorio"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Captura tomada en la interfaz en inglés de MoreLogin Desktop V2.73.101."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"entradas","__idx":3},"children":["Entradas"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Estos campos van en ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.browserUi.inputs"]},"."]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Campo"},"children":["Campo"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tipo o valores"},"children":["Tipo o valores"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Obligatorio en el esquema"},"children":["Obligatorio en el esquema"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Valor predeterminado de ejecución"},"children":["Valor predeterminado de ejecución"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Descripción y límites"},"children":["Descripción y límites"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["selectorType"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"selector\""]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"element\""]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"frame\""]}," (admite referencias a variables)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"selector\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Origen del elemento. Valor inicial en el editor: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"selector\""]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["frame"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Variable de iframe"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["element"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Variable de elemento"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["selectorRadio"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"CSS\""]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"XPath\""]}," (admite referencias a variables)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"CSS\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Tipo de selector. Valor inicial en el editor: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"CSS\""]},". Por ejemplo, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"${locatorType}\""]},"; el valor al que se hace referencia debe ser ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"CSS\""]}," o ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"XPath\""]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["selector"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Selector"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["outputRange"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"single\""]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"all\""]}," (admite referencias a variables)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"single\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Cuando coinciden varios objetos de elemento. Valor inicial en el editor: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"single\""]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["serialType"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"fixed\""]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"randomInterval\""]}," (admite referencias a variables)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"fixed\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Cuando coinciden varios objetos de elemento. Valor inicial en el editor: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"fixed\""]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["serial"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["WorkflowNumber"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Índice del elemento; entero; mínimo después de la resolución: 1. Valor inicial en el editor: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["serialMin"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["WorkflowNumber"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Índice mínimo; entero; mínimo después de la resolución: 1"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["serialMax"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["WorkflowNumber"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Índice máximo; entero; mínimo después de la resolución: 1"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"innerText\""]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"innerHTML\""]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"attribute\""]}," (admite referencias a variables)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"innerText\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Tipo de salida. Valor inicial en el editor: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"innerText\""]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["key"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Nombre del atributo / selector del elemento hijo"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"requisitos-y-límites-por-modo","__idx":4},"children":["Requisitos y límites por modo"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Reglas de localización:"]}," selectorType=selector requiere selector; frame requiere frame+selector; element requiere una referencia ElementRef de un nodo anterior. serial empieza en 1. randomInterval usa serialMin/serialMax, y el mínimo no puede ser mayor que el máximo. El nodo primero espera a que el selector coincida con elementos y después elige el índice una sola vez: el límite superior del rango se ajusta al número real de coincidencias. Si un índice fijo o el límite inferior del rango es mayor que el número de coincidencias, se devuelve inmediatamente ELEMENT_NOT_FOUND (reason=range; details.field es serial o serialMin) y no se toca la página."," ","outputRange solo puede ser single/all. type solo puede ser innerText/innerHTML/attribute (igual que en el editor; usa getElementRef para los objetos de elemento y getFrame para los iframes), y type=attribute requiere key (el nombre del atributo). Lee las claves y los valores devueltos como un valor único o como un array, según la rama. El nodo no espera a que aparezca el elemento: si no encuentra nada, se completa correctamente de inmediato, un valor único es la cadena vacía \"\" (con all es []), y un atributo que falta es \"\". Si necesitas esperar, usa primero \"Esperar elemento\"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Código de validación: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RPA_NODE_INPUT_INVALID"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"referencias-de-entrada","__idx":5},"children":["Referencias de entrada"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Campo"},"children":["Campo"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Formas permitidas"},"children":["Formas permitidas"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["selectorType"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["frame"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["element"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["selectorRadio"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["selector"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["outputRange"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["serialType"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["serial"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["numericExpression"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["serialMin"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["numericExpression"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["serialMax"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["numericExpression"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["key"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["template"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"salidas","__idx":6},"children":["Salidas"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Modo"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{\"op\":\"and\",\"rules\":[{\"op\":\"eq\",\"field\":\"type\",\"value\":\"innerText\"},{\"op\":\"eq\",\"field\":\"outputRange\",\"value\":\"single\"}]}"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Campo de salida"},"children":["Campo de salida"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tipo o valores"},"children":["Tipo o valores"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["text"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["matchedCount"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Modo"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{\"op\":\"and\",\"rules\":[{\"op\":\"eq\",\"field\":\"type\",\"value\":\"innerText\"},{\"op\":\"eq\",\"field\":\"outputRange\",\"value\":\"all\"}]}"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Campo de salida"},"children":["Campo de salida"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tipo o valores"},"children":["Tipo o valores"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["text"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]},">"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["matchedCount"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Modo"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{\"op\":\"and\",\"rules\":[{\"op\":\"eq\",\"field\":\"type\",\"value\":\"innerHTML\"},{\"op\":\"eq\",\"field\":\"outputRange\",\"value\":\"single\"}]}"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Campo de salida"},"children":["Campo de salida"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tipo o valores"},"children":["Tipo o valores"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["html"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["matchedCount"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Modo"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{\"op\":\"and\",\"rules\":[{\"op\":\"eq\",\"field\":\"type\",\"value\":\"innerHTML\"},{\"op\":\"eq\",\"field\":\"outputRange\",\"value\":\"all\"}]}"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Campo de salida"},"children":["Campo de salida"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tipo o valores"},"children":["Tipo o valores"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["html"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]},">"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["matchedCount"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Modo"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{\"op\":\"and\",\"rules\":[{\"op\":\"eq\",\"field\":\"type\",\"value\":\"attribute\"},{\"op\":\"eq\",\"field\":\"outputRange\",\"value\":\"single\"}]}"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Campo de salida"},"children":["Campo de salida"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tipo o valores"},"children":["Tipo o valores"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attribute"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["matchedCount"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Modo"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{\"op\":\"and\",\"rules\":[{\"op\":\"eq\",\"field\":\"type\",\"value\":\"attribute\"},{\"op\":\"eq\",\"field\":\"outputRange\",\"value\":\"all\"}]}"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Campo de salida"},"children":["Campo de salida"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tipo o valores"},"children":["Tipo o valores"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["attribute"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["array<",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["null"]},">"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["matchedCount"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["number"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Haz referencia a los campos publicados como ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["${nodeId.data.field}"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ejemplo-json","__idx":7},"children":["Ejemplo JSON"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Este ejemplo lee en ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.text"]}," el texto del primer elemento que coincide con ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[".price"]},". Si el elemento se carga de forma asíncrona, agrega antes un nodo \"Esperar elemento\"."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"read_price\",\n  \"type\": \"browser_getElement\",\n  \"data\": {\n    \"title\": \"Read the product price\",\n    \"browserAction\": \"getElement\",\n    \"browserUi\": {\n      \"inputs\": {\n        \"selectorType\": \"selector\",\n        \"selectorRadio\": \"CSS\",\n        \"selector\": \".price\",\n        \"outputRange\": \"single\",\n        \"serialType\": \"fixed\",\n        \"serial\": 1,\n        \"type\": \"innerText\"\n      },\n      \"exception\": {\n        \"timeout\": 30000,\n        \"policy\": \"interrupt\"\n      }\n    }\n  }\n}\n","lang":"json"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/es/browser-rpa/nodes"},"children":["Volver al catálogo de nodos"]}]}]},"headings":[{"value":"Leer datos del elemento","id":"leer-datos-del-elemento","depth":1},{"value":"Qué hace","id":"qué-hace","depth":2},{"value":"Configuración en el cliente de escritorio","id":"configuración-en-el-cliente-de-escritorio","depth":2},{"value":"Entradas","id":"entradas","depth":2},{"value":"Requisitos y límites por modo","id":"requisitos-y-límites-por-modo","depth":2},{"value":"Referencias de entrada","id":"referencias-de-entrada","depth":2},{"value":"Salidas","id":"salidas","depth":2},{"value":"Ejemplo JSON","id":"ejemplo-json","depth":2}],"frontmatter":{"seo":{"title":"Leer datos del elemento"}},"lastModified":"2026-11-20T14:40:39.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/es/browser-rpa/nodes/interaction/get-element","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}