UiPath Documentation
studio
2025.10
false
重要 :
このコンテンツの一部は機械翻訳によって処理されており、完全な翻訳を保証するものではありません。 新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。

Studio ガイド

MV3 拡張機能に関する既知の問題

入力メソッドが [シミュレート] に設定された [クリック] アクティビティが Web ページの特定の要素で失敗する

入力メソッドが [シミュレート] に設定された [クリック] アクティビティが、javascript: という URI を含むクリック ハンドラーが設定された HTML 要素に対して機能しません。

この場合、シミュレートされたクリックは有効ではなく、エラーは報告されません。

これは Chromium のバグとして報告されました。この形式のクリック ハンドラーが設定された HTML 要素は非常に少ないため、この問題はまれにしか発生しません。

回避策

この問題の回避策は 2 つあります。

  1. ワークフロー内の失敗する [クリック] アクティビティを特定し、入力メソッドを [シミュレート] から他のいずれかの入力メソッド (Chromium API、ハードウェア イベント、ウィンドウ メッセージ) に変更します。
  2. UiPath.UIAutomation.Activities パッケージを v22.12 以降にアップグレードして、[プロジェクト設定][MV3 拡張機能使用時のクリックをシミュレートの回避策を有効化] オプションを使用します。

Developer Tools access must be explicitly allowed

Starting with Chrome 149, Developer Tools access must be explicitly allowed when the UiPath Extension for Chrome is installed using Group Policies.

回避策

Option 1. Use DeveloperToolsAvailabilityAllowlist and DeveloperToolsAvailabilityBlocklist

The DeveloperToolsAvailabilityAllowlist and DeveloperToolsAvailabilityBlocklist policies let you enable Developer Tools only for the UiPath extension ID, while keeping them disabled for all other extensions. This approach preserves your browser hardening posture and is the recommended option for managed or secured environments.

If the UiPath Extension for Chrome is installed using Group Policies, then DeveloperToolsAvailabilityAllowlist and DeveloperToolsAvailabilityBlocklist are automatically configured to enable full functionality of the extension.

You can apply this by running .reg files with the following content or by manually configuring the policies in the registry:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\DeveloperToolsAvailabilityAllowlist]
"1"="chrome-extension://ndmegdjihnhfmljjoaiimbipfhodnbgf"
"2"="chrome-extension://pgbnimfaaifjpebleldfhgcjdnaeafdi"

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\DeveloperToolsAvailabilityBlocklist]
"1"="https://uipath-devtools-blocklist-placeholder.invalid/"
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\DeveloperToolsAvailabilityAllowlist]
"1"="chrome-extension://ndmegdjihnhfmljjoaiimbipfhodnbgf"
"2"="chrome-extension://pgbnimfaaifjpebleldfhgcjdnaeafdi"

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome\DeveloperToolsAvailabilityBlocklist]
"1"="https://uipath-devtools-blocklist-placeholder.invalid/"
注:

Both DeveloperToolsAvailabilityAllowlist and DeveloperToolsAvailabilityBlocklist policy values must be applied for the changes to take effect. Configuring only DeveloperToolsAvailabilityAllowlist is not sufficient.

注:

When these policy values are correctly configured, full UiPath extension functionality is restored even if DeveloperToolsAvailability=2 (Disallow usage of the Developer Tools).

Option 2. Set DeveloperToolsAvailability to 1

Configure the DeveloperToolsAvailability policy to 1 (Allow usage of the Developer Tools) in your GPO or directly in the Windows Registry on affected machines.

You can apply this by running .reg files with the following content or by manually configuring the policy in the registry:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]
"DeveloperToolsAvailability"=dword:00000001
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]
"DeveloperToolsAvailability"=dword:00000001

DeveloperToolsAvailability ポリシーには、次のいずれかの値が設定可能です。

  • 0 - Disallows usage of the Developer Tools on apps and extensions installed by enterprise policy or, since version 114 and if this is a managed user, extensions built into the browser. Allows usage of the Developer Tools in other contexts.
  • 1 - 開発者ツールの使用を許可する
  • 2 - Disallows usage of the developer tools.

DeveloperToolsAvailability2 に設定されている場合、以下の制限が適用されます。

  • [JS スクリプトを挿入] アクティビティは機能しません。
  • 入力メソッド [Chromium API] は機能しません。
  • UiPath Chrome 拡張機能は、UiPath.UiAutomation.Activities の LTS バージョンに制限されています。
注:

The DeveloperToolsAvailabilityAllowlist / DeveloperToolsAvailabilityBlocklist or the DeveloperToolsAvailability policy values may be overwritten if your organization uses Group Policies for browser extension management, which set different values.

Option 3. Switch to using Chromium Automation instead of the browser extension

This uses the Chromium Automation method instead of the Browser extension to automate the browser.

注:

Chromium Automation is blocked when the DeveloperToolsAvailability Group Policy is set to 2.

[UiPath Web Automation] ブラウザー ウィンドウに警告が表示される

ChromeNativeMessaging.exe が起動できない場合は、[UiPath Web Automation] ブラウザー ウィンドウに「UiPath Platform と通信できません。拡張機能のネイティブ部分が正しく構成されていません。」という警告が表示されます。

UiPath Studio から拡張機能を再インストールします。

[JS スクリプトを挿入] アクティビティを使用してページ変数やページ コードにアクセスできなくなった

既定では、[ JS スクリプトを挿入 ] アクティビティを使用して jQuery $などのページ変数にアクセスしたり、ページ コード ( window.alertなど) を操作したりすることはできなくなりました。[ JS スクリプトを挿入 ] アクティビティではエラーは報告されませんが、スクリプトの実行に失敗し、ブラウザーの DevTools (F12) に「 Refused to execute inline script because it violates the following Content Security Policy directive」というエラーが表示されます。

これは、MV3 プラットフォームによる制限です。

この問題を修正するには、[ JS スクリプトを挿入] アクティビティの [ 実行環境] で [ページ] オプションを選択します。

このプロパティは UiPath.UIAutomation.Activities v22.12.0-preview 以降で使用できます。

既存の JavaScript コードへの変更は必要ありません。また、[実行環境] で [ページ] オプションを選択すると、MV2 と MV3 の両方の拡張機能で機能します。

[ブラウザーを開く] アクティビティのタイムアウトが短すぎる

MV3 拡張機能の場合、ブラウザーは Web ページが読み込まれた後に拡張機能を読み込みます。つまり、マシンの速度が遅い場合、v22.10 以前の UiPath.UiAutomation.Activities アクティビティの [ブラウザーを開く] アクティビティでは、拡張機能が開始される前に 20 秒の内部タイムアウトに達する可能性があります。

v22.12.0-preview より、[ブラウザーを開く] アクティビティの内部タイムアウトの値を 20 秒から 60 秒に引き上げました。

ブラウザーの起動タイムアウトを長く設定しなければならない場合のために、[アプリケーション/ブラウザーを使用] アクティビティと [ブラウザーを開く] アクティビティからタイムアウトを設定できるようになりました。以下のプロジェクト設定が追加されています。

また、タイムアウトは UIPATH_OPEN_BROWSER_TIMEOUT_SECONDS 環境変数を使用して設定することもできます。たとえば、アクティビティのタイムアウトを 120 秒にするには UIPATH_OPEN_BROWSER_TIMEOUT_SECONDS=120 と設定します。

このページは役に立ちましたか?

接続

ヘルプ リソース サポート

学習する UiPath アカデミー

質問する UiPath フォーラム

最新情報を取得