{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/pt/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Ler URL"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"ler-url","__idx":0},"children":["Ler URL"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tipo de nó: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["browser_getUrl"]}]},{"$$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 endereço completo, a origem ou um parâmetro de consulta da página atual."]},{"$$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-url-en.f527c94150d497824041e85845bc0753636fd52c399d567df9b7df075e92f21b.0538f3a9.webp","alt":"Configuração do nó \"Ler URL\" 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":["type"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"href\""]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"origin\""]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"search\""]}," (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":["\"href\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Tipo de extração. Valor inicial no editor: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"href\""]}]}]},{"$$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 parâmetro"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"requisitos-de-modo-e-limites","__idx":4},"children":["Requisitos de modo e limites"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["eq"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"search\""]}]}]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Campo obrigatório: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["key"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Para href, value é igual a url: ambos são a URL completa da página atual no momento da leitura (incluindo query/hash; após uma navegação, pode ser um endereço de redirecionamento). Para origin, value é protocolo+host+porta. Para search, key deve ser uma string não vazia após a resolução. Para uma chave de consulta repetida, value recebe a primeira ocorrência, e o mapa query mantém a última. Se a chave não existir, será retornada uma string vazia."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Código de validação: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RPA_NODE_INPUT_INVALID"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Quando type=search, key é obrigatório. Se o parâmetro não existir, value será a string vazia \"\"."]},{"$$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":["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":["type"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["eq"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"href\""]}]},{"$$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":["value"]}]},{"$$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":["url"]}]},{"$$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":["origin"]}]},{"$$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":["pathname"]}]},{"$$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":["query"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Modo"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["eq"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"origin\""]}]},{"$$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":["value"]}]},{"$$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":["url"]}]},{"$$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":["origin"]}]},{"$$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":["pathname"]}]},{"$$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":["query"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Modo"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["eq"]}," ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"search\""]}]},{"$$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":["value"]}]},{"$$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":["url"]}]},{"$$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":["origin"]}]},{"$$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":["pathname"]}]},{"$$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":["query"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["object"]}]}]}]}]}]},{"$$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ê o parâmetro de consulta ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["item"]}," para ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.value"]},". Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type: \"href\""]}," para a URL completa ou ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["type: \"origin\""]}," apenas para a origem."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"read_url\",\n  \"type\": \"browser_getUrl\",\n  \"data\": {\n    \"title\": \"Read the item query parameter\",\n    \"browserAction\": \"getUrl\",\n    \"browserUi\": {\n      \"inputs\": {\n        \"type\": \"search\",\n        \"key\": \"item\"\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 URL","id":"ler-url","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 URL"}},"lastModified":"2026-11-20T14:40:39.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/pt/browser-rpa/nodes/navigation/get-url","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}