Compartir a través de


The "Run JavaScript function on web page" action doesn't execute but no error is reported

This article provides a resolution for an issue where the Run JavaScript function on web page action fails to execute the JavaScript code and doesn't indicate any error.

Síntomas

The JavaScript code provided in the Run JavaScript function on web page action isn't executed, but no error or exception is reported.

Causa

This issue can occur when a third-party web extension installed and enabled in the browser blocks the JavaScript code execution initiated by Power Automate for desktop.

Resolución

To solve this issue:

  1. Temporarily disable all third-party web extensions in the browser, except the Power Automate extension, to determine if the issue persists.

  2. If disabling third-party web extensions isn't feasible, you can replace the JavaScript code with a specific web automation action that involves physical interaction. Por ejemplo:

    If the JavaScript code is designed to click an element using the document.getElementById('elementID').click(); code, this code can be replaced by the Click link on web page action with the Send physical click option enabled.

Aviso de declinación de responsabilidades sobre la información de terceros

Los productos de terceros que describe este artículo son fabricados por empresas independientes de Microsoft. Microsoft no ofrece ninguna garantía, ya sea implícita o de otro tipo, sobre la confiabilidad o el rendimiento de dichos productos.