{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/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_waitForSelector"]}]},{"$$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/wait-for-selector.42db1d2e61eee2e5170332868af7a57b74fe38a986b548d1fd8588cb4a7f5b9c.0538f3a9.webp","alt":"デスクトップクライアントでの「要素を待機」の設定"},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["MoreLogin デスクトップクライアント 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":["selectorRadio"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"CSS\""]}," / ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"XPath\""]},"（変数参照をサポート）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["\"CSS\""]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["セレクターの種類。エディターの初期値：",{"$$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":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["—"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["セレクター"]}]},{"$$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":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["1"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["要素のインデックス。整数、解決後の最小値：1。エディターの初期値：",{"$$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"]},"（変数参照をサポート）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["true"]}]},{"$$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":["maxWaitMs"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["WorkflowNumber"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["いいえ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["10000"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["最大待機時間（ms）。解決後の最小値：1。エディターの初期値：",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["10000"]}]}]}]}]}]},{"$$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":"code","attributes":{},"children":["selector"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["selector は空であってはなりません。maxWaitMs は待機の上限です。タイムアウトした場合、ノードは失敗し、found:false は返しません。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["検証コード：",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["RPA_NODE_INPUT_INVALID"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["selector は必須です。isShow=true では要素が表示されていることも必要で、false では要素が存在することだけが必要です。maxWaitMs は検索の上限です。"]},{"$$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":["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":"出力","__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":["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":["公開されているフィールドは、",{"$$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\": \"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":"/ja/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":"/ja/browser-rpa/nodes/interaction/wait-for-selector","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}