ノードタイプ browser_closePage
ページでの作業が完了したら、ブラウザのタブを閉じます。

MoreLogin デスクトップクライアント V2.73.101 の英語インターフェースで撮影しました。
これらのフィールドは data.browserUi.inputs に置きます。
| フィールド | 型または値 | スキーマで必須 | 実行時の既定値 | 説明と制約 |
|---|---|---|---|---|
scope | "current" / "others" / "specified"(変数参照をサポート) | いいえ | "current" | 閉じる範囲。エディターの初期値:"current" |
type | "url" / "title" / "tabId" / "tabOrder"(変数参照をサポート) | いいえ | "url" | 検索の基準。エディターの初期値:"url" |
relation | "equal" / "notEqual" / "contain" / "notContain"(変数参照をサポート) | いいえ | "contain" | 一致の条件。エディターの初期値:"contain" |
content | string | いいえ | — | 一致させる内容 |
tabId | string | いいえ | — | タブ ID |
tabOrder | WorkflowNumber | いいえ | 1 | タブのインデックス。整数、解決後の最小値:1。エディターの初期値:1 |
postWaitMs | WorkflowNumber | いいえ | 300 | 完了後の待機時間(ms)。解決後の最小値:0。エディターの初期値:300 |
- type/relation/content/tabId/tabOrder を使用するのは、scope=specified の場合だけです。一致のルールは switchPage と同じです。
- 検証コード:
RPA_NODE_INPUT_INVALID
| フィールド | 許可される形式 |
|---|---|
scope | literal, template |
type | literal, template |
relation | literal, template |
content | literal, template |
tabId | literal, template |
tabOrder | literal, numericExpression |
postWaitMs | literal, numericExpression |
| 出力フィールド | 型または値 |
|---|---|
closedTabs | array<TabInfo> |
remainingTabCount | number |
activeTab | TabInfo / null |
公開されているフィールドは、${nodeId.data.field} として参照します。
ワークフローの nodes 配列、または別のノードの blocks に入れる完全なノードオブジェクトです。
{
"id": "close_help_tab",
"type": "browser_closePage",
"data": {
"title": "Close the help tab",
"browserAction": "closePage",
"browserUi": {
"inputs": {
"scope": "specified",
"type": "url",
"relation": "contain",
"content": "/help",
"postWaitMs": 300
},
"exception": {
"timeout": 30000,
"policy": "interrupt"
}
}
}
}