{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/uk/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Отримати активний елемент"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"отримати-активний-елемент","__idx":0},"children":["Отримати активний елемент"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Тип вузла ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["browser_getActiveElement"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"призначення","__idx":1},"children":["Призначення"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Отримує елемент, який зараз має фокус на сторінці."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"налаштування-в-настільному-клієнті","__idx":2},"children":["Налаштування в настільному клієнті"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/get-active-element.2a170da5a4c1c7e79d1aba39b24f11bf90ddccae137df1a086d71c9dd9adfcba.0538f3a9.webp","alt":"Налаштування вузла «Отримати активний елемент» в настільному клієнті"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Знімок екрана зроблено в англійському інтерфейсі MoreLogin Desktop V2.73.101."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"вхідні-дані","__idx":3},"children":["Вхідні дані"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Ці поля розміщуються в ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["data.browserUi.inputs"]},"."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Цей вузол не має окремих полів вхідних даних."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"вимоги-до-режимів-і-обмеження","__idx":4},"children":["Вимоги до режимів і обмеження"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Вхідні дані:"]}," полів дії немає. Можна пропустити inputs або передати ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["{}"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Код помилки перевірки: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RPA_NODE_INPUT_INVALID"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"вихідні-дані","__idx":5},"children":["Вихідні дані"]},{"$$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":"Поле вихідних даних"},"children":["Поле вихідних даних"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Тип або значення"},"children":["Тип або значення"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$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":"code","attributes":{},"children":["null"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Посилайтеся на опубліковані поля у форматі ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["${nodeId.data.field}"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"приклад-json","__idx":6},"children":["Приклад JSON"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Повний об'єкт вузла для масиву ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["nodes"]}," сценарію або для ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["blocks"]}," іншого вузла."]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"json","header":{"controls":{"copy":{}}},"source":"{\n  \"id\": \"focused_field\",\n  \"type\": \"browser_getActiveElement\",\n  \"data\": {\n    \"title\": \"Get the focused field\",\n    \"browserAction\": \"getActiveElement\",\n    \"browserUi\": {\n      \"inputs\": {},\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":"/uk/browser-rpa/nodes"},"children":["Назад до каталогу вузлів"]}]}]},"headings":[{"value":"Отримати активний елемент","id":"отримати-активний-елемент","depth":1},{"value":"Призначення","id":"призначення","depth":2},{"value":"Налаштування в настільному клієнті","id":"налаштування-в-настільному-клієнті","depth":2},{"value":"Вхідні дані","id":"вхідні-дані","depth":2},{"value":"Вимоги до режимів і обмеження","id":"вимоги-до-режимів-і-обмеження","depth":2},{"value":"Вихідні дані","id":"вихідні-дані","depth":2},{"value":"Приклад JSON","id":"приклад-json","depth":2}],"frontmatter":{"seo":{"title":"Отримати активний елемент"}},"lastModified":"2026-11-20T14:40:39.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/uk/browser-rpa/nodes/interaction/get-active-element","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}