{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/es/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Esperar elemento"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"esperar-elemento","__idx":0},"children":["Esperar elemento"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Tipo de nodo ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["browser_waitForSelector"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"qué-hace","__idx":1},"children":["Qué hace"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Espera a que un selector coincida antes de continuar con el siguiente paso."]},{"$$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/wait-for-selector.42db1d2e61eee2e5170332868af7a57b74fe38a986b548d1fd8588cb4a7f5b9c.0538f3a9.webp","alt":"Configuración del nodo \"Esperar 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":["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\""]}]}]},{"$$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":["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":["isShow"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}," (admite referencias a variables)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Exigir que el elemento sea visible. Valor inicial en el editor: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["maxWaitMs"]}]},{"$$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":["10000"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Tiempo máximo de espera (ms); mínimo después de la resolución: 1. Valor inicial en el editor: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["10000"]}]}]}]}]}]},{"$$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":["Obligatorio: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["selector"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["selector no puede estar vacío. maxWaitMs es el límite de espera. Si se agota el tiempo de espera, el nodo falla; no devuelve found:false."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Código de validación: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RPA_NODE_INPUT_INVALID"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["selector es obligatorio. isShow=true además exige que el elemento sea visible; false solo exige que exista. maxWaitMs es el límite de búsqueda."]},{"$$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":["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":["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":["isShow"]}]},{"$$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":["maxWaitMs"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["literal"]},", ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["numericExpression"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"salidas","__idx":6},"children":["Salidas"]},{"$$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":["found"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]}]},{"$$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":["ElementRef"]}]}]},{"$$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":["Un objeto de nodo completo para el array ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["nodes"]}," de un flujo de trabajo o para los ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["blocks"]}," de otro nodo."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"wait_results\",\n  \"type\": \"browser_waitForSelector\",\n  \"data\": {\n    \"title\": \"Wait for the results list\",\n    \"browserAction\": \"waitForSelector\",\n    \"browserUi\": {\n      \"inputs\": {\n        \"selectorRadio\": \"CSS\",\n        \"selector\": \"#results\",\n        \"isShow\": true,\n        \"maxWaitMs\": 10000\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":"Esperar elemento","id":"esperar-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":"Esperar elemento"}},"lastModified":"2026-11-20T14:40:39.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/es/browser-rpa/nodes/interaction/wait-for-selector","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}