{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/pt/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Ler dados do elemento"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"ler-dados-do-elemento","__idx":0},"children":["Ler dados do elemento"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tipo de nó: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["browser_getElement"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"o-que-faz","__idx":1},"children":["O que faz"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Lê o texto, o HTML ou um atributo nomeado de um ou mais elementos correspondentes."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"configuração-no-cliente-desktop","__idx":2},"children":["Configuração no cliente desktop"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/get-element.82353332a27b2e6642fd4415f67643de4e56d5a746cdd0b78d45b21816b4abc8.0538f3a9.webp","alt":"Configuração do nó \"Ler dados do elemento\" no cliente desktop"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Captura de tela feita na interface em inglês do MoreLogin Desktop V2.73.101."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"entradas","__idx":3},"children":["Entradas"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Estes campos ficam em ",{"$$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 ou valores"},"children":["Tipo ou valores"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Obrigatório no esquema"},"children":["Obrigatório no esquema"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Padrão de execução"},"children":["Padrão de execução"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Descrição e limites"},"children":["Descrição e limites"]}]}]},{"$$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\""]}," (aceita referências de variáveis)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Não"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"selector\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Origem do elemento. Valor inicial no 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":["Não"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Variável 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":["Não"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Variável 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\""]}," (aceita referências de variáveis)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Não"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"CSS\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Tipo de seletor. Valor inicial no editor: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"CSS\""]},". Por exemplo, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"${locatorType}\""]},"; o valor referenciado deve ser ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"CSS\""]}," ou ",{"$$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":["Não"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Seletor"]}]},{"$$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\""]}," (aceita referências de variáveis)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Não"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"single\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Quando vários objetos de elemento corresponderem. Valor inicial no 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\""]}," (aceita referências de variáveis)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Não"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"fixed\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Quando vários objetos de elemento corresponderem. Valor inicial no 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":["Não"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Índice do elemento; inteiro; mínimo após a resolução: 1. Valor inicial no 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":["Não"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Índice mínimo; inteiro; mínimo após a resolução: 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":["Não"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Índice máximo; inteiro; mínimo após a resolução: 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\""]}," (aceita referências de variáveis)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Não"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"innerText\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Tipo de saída. Valor inicial no 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":["Não"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Nome do atributo / seletor do elemento filho"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"requisitos-de-modo-e-limites","__idx":4},"children":["Requisitos de modo e limites"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Regras de localização:"]}," selectorType=selector exige selector; frame exige frame+selector; element exige uma referência ElementRef de um nó anterior. serial começa em 1. randomInterval usa serialMin/serialMax, e o mínimo não pode ser maior que o máximo. Primeiro, o nó aguarda até que o seletor corresponda a elementos e, depois, escolhe o índice uma única vez: o limite superior do intervalo fica restrito ao número real de correspondências. Se um índice fixo ou o limite inferior do intervalo for maior que o número de correspondências, ELEMENT_NOT_FOUND (reason=range, details.field é serial ou serialMin) será retornado imediatamente, sem nenhuma interação com a página."," ","outputRange só pode ser single/all. type só pode ser innerText/innerHTML/attribute (igual ao editor; use getElementRef para objetos de elemento e getFrame para iframes), e type=attribute exige key (o nome do atributo). Leia as chaves e os valores retornados como um valor único ou um array, de acordo com a ramificação. O nó não aguarda o elemento aparecer: se nada for encontrado, ele é concluído com sucesso imediatamente, um valor único é a string vazia \"\" (em all, é []), e um atributo ausente é \"\". Se precisar aguardar, use \"Aguardar elemento\" antes."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Código de validação: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RPA_NODE_INPUT_INVALID"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"referências-de-entrada","__idx":5},"children":["Referências 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":"saídas","__idx":6},"children":["Saídas"]},{"$$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 saída"},"children":["Campo de saída"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tipo ou valores"},"children":["Tipo ou 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 saída"},"children":["Campo de saída"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tipo ou valores"},"children":["Tipo ou 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 saída"},"children":["Campo de saída"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tipo ou valores"},"children":["Tipo ou 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 saída"},"children":["Campo de saída"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tipo ou valores"},"children":["Tipo ou 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 saída"},"children":["Campo de saída"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tipo ou valores"},"children":["Tipo ou 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 saída"},"children":["Campo de saída"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Tipo ou valores"},"children":["Tipo ou 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":["Referencie os campos publicados como ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["${nodeId.data.field}"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"exemplo-em-json","__idx":7},"children":["Exemplo em JSON"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Este exemplo lê para ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.text"]}," o texto do primeiro elemento que corresponde a ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":[".price"]},". Adicione antes um nó \"Aguardar elemento\" se o elemento carregar de forma assíncrona."]},{"$$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":"/pt/browser-rpa/nodes"},"children":["Voltar ao catálogo de nós"]}]}]},"headings":[{"value":"Ler dados do elemento","id":"ler-dados-do-elemento","depth":1},{"value":"O que faz","id":"o-que-faz","depth":2},{"value":"Configuração no cliente desktop","id":"configuração-no-cliente-desktop","depth":2},{"value":"Entradas","id":"entradas","depth":2},{"value":"Requisitos de modo e limites","id":"requisitos-de-modo-e-limites","depth":2},{"value":"Referências de entrada","id":"referências-de-entrada","depth":2},{"value":"Saídas","id":"saídas","depth":2},{"value":"Exemplo em JSON","id":"exemplo-em-json","depth":2}],"frontmatter":{"seo":{"title":"Ler dados do elemento"}},"lastModified":"2026-11-20T14:40:39.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/pt/browser-rpa/nodes/interaction/get-element","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}