{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ru/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_closeBrowser"]}]},{"$$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/close-browser.d5ec79b6aab03208276af6a24d54bba33ee38941b8b696844321b8840a3e6520.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":"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":"th","attributes":{"data-label":"Обязательно по схеме"},"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":["closeTarget"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"current\""]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"specified\""]}," (поддерживает ссылки на переменные)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Нет"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"current\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Закрываемый браузер. Начальное значение в редакторе: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"current\""]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["environment"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Нет"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ID окружения"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["afterClose"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"none\""]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"specified\""]}," (поддерживает ссылки на переменные)"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Нет"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"none\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Переключение управления после закрытия. Начальное значение в редакторе: ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"none\""]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["switchEnvironmentId"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["string"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Нет"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ID окружения для переключения"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"требования-к-режимам-и-ограничения","__idx":4},"children":["Требования к режимам и ограничения"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["По умолчанию после закрытия ни один браузер не перенимает управление автоматически. При afterClose=specified в switchEnvironmentId должно быть указано другое, уже открытое окружение; это проверяется до закрытия. Переключение не запускает окружение."]},{"$$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":["closeTarget"]}]},{"$$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":["environment"]}]},{"$$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":["afterClose"]}]},{"$$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":["switchEnvironmentId"]}]},{"$$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":"выходные-данные","__idx":6},"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":["environmentId"]}]},{"$$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":["closed"]}]},{"$$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":["isRunning"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["false"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["activeEnvironmentId"]}]},{"$$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":["activeEnvironment"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["EnvironmentInfo"]}," / ",{"$$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":["switchedControl"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["boolean"]}]}]}]}]}]},{"$$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":7},"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\": \"close_current\",\n  \"type\": \"browser_closeBrowser\",\n  \"data\": {\n    \"title\": \"Close the current profile\",\n    \"browserAction\": \"closeBrowser\",\n    \"browserUi\": {\n      \"inputs\": {\n        \"closeTarget\": \"current\",\n        \"afterClose\": \"none\"\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":"/ru/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":"Выходные данные","id":"выходные-данные","depth":2},{"value":"Пример JSON","id":"пример-json","depth":2}],"frontmatter":{"seo":{"title":"Закрыть браузер"}},"lastModified":"2026-11-20T14:40:39.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ru/browser-rpa/nodes/environment/close-browser","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}