UiPath Documentation
studio
latest
false
Important :
La localisation du contenu nouvellement publié peut prendre 1 à 2 semaines avant d’être disponible.

Guide de l'utilisateur de Studio

Problèmes connus spécifiques aux extensions MV3

L’activité Clic (Click) avec Simuler (Simulate) échoue sur des éléments de page Web spécifiques

The Click activity with the Simulate input method no longer works on HTML elements that have a click handler with javascript: URI.

Dans cet incident, le clic simulé ne prendra pas effet et aucune erreur ne sera signalée.

Cela a été signalé comme un bogue Chromium. Ce problème est assez rare, car très peu d'éléments HTML ont des gestionnaires de clics sous cette forme.

Solution de contournement

Deux solutions de contournement sont disponibles pour ce problème :

  1. Identify the failing Click activity in your workflow and change the input method from Simulate to any other input method (Chromium API, Hardware Events, Window Messages).
  2. Mettez à niveau vers le package UiPath.UIAutomation.Activities v22.12 ou une version plus récente et utilisez l’option Activer la solution de contournement pour simuler un clic avec l’extension MV3 dans Paramètres du projet (Project Settings).

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.

Solution de contournement

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/"
Remarque :

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

Les valeurs possibles de la politique DeveloperToolsAvailability sont les suivantes :

  • 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 – Permet d'utiliser les outils de développement.
  • 2 - Disallows usage of the Developer Tools.

Si la valeur DeveloperToolsAvailability est définie sur 2, les limitations suivantes s'appliquent :

  • L'activité InjectJS ne fonctionne pas.
  • La méthode d'entrée ChromiumAPI ne fonctionne pas.
  • L'extension UiPath pour Chrome est limitée aux versions LTS de UiPath.UiAutomation.Activities.
Remarque :

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.

Remarque :

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

La fenêtre du navigateur Automatisation Web UiPath (UiPath Web Automation) affiche un avertissement

La fenêtre du navigateur d’automatisation Web UiPath (UiPath Web Automation) affiche l’avertissement suivant si ChromeNativeMessaging.exe n’a pas pu être démarré : Cannot communicate with UiPath Platform The native part of the extension is not configured correctly.

Réinstallez l'extension à partir d'UiPath Studio.

L'activité Injecter JavaScript (Inject JS Script) ne peut plus être utilisée pour accéder aux variables de page et au code

Par défaut, l'activité Inject Js Script ne peut plus être utilisée pour accéder aux variables de page, telles que jQuery $, ou pour interagir avec le code de page (par exemple, window.alert). L'activité Injecter le script Js ne signalera pas une Error, mais le script ne parviendra pas à s'exécuter et l'Error suivante sera signalée dans le DevTools (F12) du navigateur : Refused to execute inline script because it violates the following Content Security Policy directive.

Il s'agit d'une limitation introduite par la plate-forme MV3.

Pour résoudre ce problème, sélectionnez l'option Monde de l’exécution (Execution world) - Page dans l'activité Injecter JavaScript (Inject JS Script).

Cette propriété est disponible à partir de UiPath.UIAutomation.Activities v22.12.0-preview.

Your existing JavaScript code doesn't require any changes, and by using the Execution world - Page option it will work for both MV2 and MV3 extensions.

L'activité Open Browser a un délai d'expiration insuffisant

Pour les extensions MV3, le navigateur charge l'extension ultérieurement, après le chargement des pages Web. Cela signifie que sur les machines plus lentes, l'activité Open Browser de UiPath.UiAutomation.Activities version 22.10 ou une version antérieure peut atteindre le délai d'expiration interne de 20 secondes avant le démarrage de l'extension.

À partir de la version v22.12.0-preview, le délai d'attente interne pour l'activité Open Browser est passé de 20 à 60 secondes.

Comme vous pouvez avoir besoin de fixer un délai plus long pour le démarrage du navigateur, il est désormais possible de le configurer à partir des activités Use Application/Browser et Open Browser. Les paramètres de projet suivants ont été ajoutés :

En outre, vous pouvez configurer le délai d'attente via la variable d'environnement UIPATH_OPEN_BROWSER_TIMEOUT_SECONDS . Par exemple, définissez UIPATH_OPEN_BROWSER_TIMEOUT_SECONDS=120 pour utiliser 120 secondes pour le délai d'attente de l'activité.

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour