# \#javascript

**URL:** https://forum.uipath.com/tag/javascript/642.md

[Latest](https://forum.uipath.com/latest.md) · [Categories](https://forum.uipath.com/categories.md) · [Tags](https://forum.uipath.com/tags.md)

---

## [How to Use Node.js with JavaScript in Combination with UiPath](https://forum.uipath.com/t/how-to-use-node-js-with-javascript-in-combination-with-uipath/471987)

<div class="topic-metadata">

**Author:** [@StefanSchnell](https://forum.uipath.com/u/StefanSchnell)\
**Replies:** 9\
**Last updated:** [February 4, 2025, 9:27am UTC](https://forum.uipath.com/t/how-to-use-node-js-with-javascript-in-combination-with-uipath/471987 "2025-02-04T09:27:27Z")

</div>

Node.js is a JavaScript runtime environment on Chrome V8 engine. JavaScript is a very common and used programming language from many programmers around the world. A variety of packages are offered for Node.js that provid…

---

## [Inject js script not waiting till the script is completed](https://forum.uipath.com/t/inject-js-script-not-waiting-till-the-script-is-completed/848471)

<div class="topic-metadata">

**Author:** [@anilalapati.66](https://forum.uipath.com/u/anilalapati.66)\
**Replies:** 3\
**Last updated:** [January 31, 2025, 12:06pm UTC](https://forum.uipath.com/t/inject-js-script-not-waiting-till-the-script-is-completed/848471 "2025-01-31T12:06:34Z")

</div>

Hi, I am trying to run Java script using inject javascript. my script interacts with multiple pages data extraction. when i run the script using inject js. the control is not waiting for the script completion and moving …

---

## [How can I use UiPath with Jspreadsheet](https://forum.uipath.com/t/how-can-i-use-uipath-with-jspreadsheet/776170)

<div class="topic-metadata">

**Author:** [@Gabriel\_Brandao](https://forum.uipath.com/u/Gabriel_Brandao)\
**Replies:** 1\
**Last updated:** [October 29, 2024, 4:59am UTC](https://forum.uipath.com/t/how-can-i-use-uipath-with-jspreadsheet/776170 "2024-10-29T04:59:44Z")

</div>

This is my first question. Thanks for your support. I would like to insert data into cells using UiPath for a JavaScript component called Jspreadsheet that works like Excel, but it doesn’t work. Could you please tell …

---

## [Jspreadsheet](https://forum.uipath.com/t/jspreadsheet/768106)

<div class="topic-metadata">

**Author:** [@Gabriel\_Brandao](https://forum.uipath.com/u/Gabriel_Brandao)\
**Replies:** 0\
**Last updated:** [September 19, 2024, 4:04pm UTC](https://forum.uipath.com/t/jspreadsheet/768106 "2024-09-19T16:04:39Z")

</div>

Jspreadsheet is a frontend data grid component, meaning it operates entirely on the client side. This ensures that your data remains secure and private, as Jspreadsheet does not access, process, or store your information…

---

## [Data Type to maintain the JS code format](https://forum.uipath.com/t/data-type-to-maintain-the-js-code-format/761268)

<div class="topic-metadata">

**Author:** [@hans\_bruggink](https://forum.uipath.com/u/hans_bruggink)\
**Replies:** 1\
**Last updated:** [August 23, 2024, 2:00pm UTC](https://forum.uipath.com/t/data-type-to-maintain-the-js-code-format/761268 "2024-08-23T14:00:46Z")

</div>

Hi there, Is there a data type I can use to maintain the vbLf and spacing of my JS code when moving JS between applications. That is web pages and Excel cells?

---

## [Auto populating dropdowns in Action Center forms](https://forum.uipath.com/t/auto-populating-dropdowns-in-action-center-forms/700851)

<div class="topic-metadata">

**Author:** [@Loveness01](https://forum.uipath.com/u/Loveness01)\
**Replies:** 2\
**Last updated:** [December 4, 2023, 7:57pm UTC](https://forum.uipath.com/t/auto-populating-dropdowns-in-action-center-forms/700851 "2023-12-04T19:57:06Z")

</div>

Hi all, I have am displaying a data table in an action center form in UiPath. Each row in this data table has a dropdown. Now, I want to create logic that will autofill the rest of the drop downs in the table once a fi…

---

## [WEBサイトのscriptを含んだ読込み待機](https://forum.uipath.com/t/web-script/702610)

<div class="topic-metadata">

**Author:** [@curry](https://forum.uipath.com/u/curry)\
**Replies:** 6\
**Last updated:** [November 28, 2023, 7:09am UTC](https://forum.uipath.com/t/web-script/702610 "2023-11-28T07:09:21Z")

</div>

WEBサイトに遷移した際にページ読込みが完了するまで待機したいのですが、 該当のWEBサイトがHTMLを読み込んだ後にjavascript等で動的にフロントを構築しているようで 以下試してみましたが、明らかにページの表示が完了する前に次の処理を実行していました。 何か良い方法はないでしょうか。 ①「要素を探す」アクティビティの「アクティブ化を待つ」「表示を待つ」を「True」 ②「要素を確認」アクティビティの「ページの読み込…

---

## [Help with Javascript loading](https://forum.uipath.com/t/help-with-javascript-loading/700771)

<div class="topic-metadata">

**Author:** [@Jona2](https://forum.uipath.com/u/Jona2)\
**Replies:** 9\
**Last updated:** [November 20, 2023, 9:28am UTC](https://forum.uipath.com/t/help-with-javascript-loading/700771 "2023-11-20T09:28:53Z")

</div>

Hi all. I´ve got a really really enjoying problem. A process is using a internal map (so I can´t link to the website..), that will load filters etc using Javascript. The problem is that there is absolutely no way to se…

---

## [Run a script (Google App Script) using RPA](https://forum.uipath.com/t/run-a-script-google-app-script-using-rpa/211086)

<div class="topic-metadata">

**Author:** [@MatthieuRotaru](https://forum.uipath.com/u/MatthieuRotaru)\
**Replies:** 13\
**Last updated:** [October 17, 2023, 11:41am UTC](https://forum.uipath.com/t/run-a-script-google-app-script-using-rpa/211086 "2023-10-17T11:41:30Z")

</div>

Hello everyone, Is it possible tu run a script (from Google App Script) using an activitie/API ? The only way I found is to open my spreadsheet, and use a Click activity to run my script (or to parametrize an onOpen tr…

---

## [How to handle Leave Site pop using Java Script code](https://forum.uipath.com/t/how-to-handle-leave-site-pop-using-java-script-code/556782)

<div class="topic-metadata">

**Author:** [@Ripusudan\_Sharma](https://forum.uipath.com/u/Ripusudan_Sharma)\
**Replies:** 1\
**Last updated:** [June 23, 2023, 8:40am UTC](https://forum.uipath.com/t/how-to-handle-leave-site-pop-using-java-script-code/556782 "2023-06-23T08:40:48Z")

</div>

Hello All, We want to Handle Leave Pop up as show below using Java Script Only. Can some one help us with Java script query to execute leave page pop. we dont want to use Click or other components.

---

## [Issue Returning Event Data from an Event Object using Javascript](https://forum.uipath.com/t/issue-returning-event-data-from-an-event-object-using-javascript/536958)

<div class="topic-metadata">

**Author:** [@amkreiner](https://forum.uipath.com/u/amkreiner)\
**Replies:** 0\
**Last updated:** [April 18, 2023, 3:48pm UTC](https://forum.uipath.com/t/issue-returning-event-data-from-an-event-object-using-javascript/536958 "2023-04-18T15:48:03Z")

</div>

I am using a custom javascript activity that uses Node.JS found here: Javascript With Node.JS I am able to get a response in UiPath if an error occurs, but the activity gets stuck when trying to return the event data. I…

---

## [Use V8 JavaScript Engine via ClearScript Library with UiPath](https://forum.uipath.com/t/use-v8-javascript-engine-via-clearscript-library-with-uipath/479516)

<div class="topic-metadata">

**Author:** [@StefanSchnell](https://forum.uipath.com/u/StefanSchnell)\
**Replies:** 1\
**Last updated:** [January 23, 2023, 8:28pm UTC](https://forum.uipath.com/t/use-v8-javascript-engine-via-clearscript-library-with-uipath/479516 "2023-01-23T20:28:03Z")

</div>

V8 is a JavaScript engine from Google which is used in the Chrome Browser, Node.js and other applications. It implements ECMAScript (the JavaScript standard) and WebAssembly. ClearScript from Microsoft is a dotNET as…

---

## [Uipath forms Data grid check box](https://forum.uipath.com/t/uipath-forms-data-grid-check-box/494293)

<div class="topic-metadata">

**Author:** [@RVK](https://forum.uipath.com/u/RVK)\
**Replies:** 1\
**Last updated:** [November 30, 2022, 4:01pm UTC](https://forum.uipath.com/t/uipath-forms-data-grid-check-box/494293 "2022-11-30T16:01:00Z")

</div>

Hello Everyone, Data grid in UiPath forms contains a checkbox column or checkbox in each row, when checkbox is selected a button outside data grid in same form should be enable. Thanks in advance. @Vajrang

---

## [Invoke a js function in Chrome](https://forum.uipath.com/t/invoke-a-js-function-in-chrome/422276)

<div class="topic-metadata">

**Author:** [@joelromero](https://forum.uipath.com/u/joelromero)\
**Replies:** 6\
**Last updated:** [September 8, 2022, 2:41am UTC](https://forum.uipath.com/t/invoke-a-js-function-in-chrome/422276 "2022-09-08T02:41:12Z")

</div>

Hi, I am facing some issues invoking a js function using InjectJsScript activity. Invoking the function from the Chrome console works properly: I am using the InjectJsScript activity to invoke the function in this w…

---

## [Extract data using data scraping](https://forum.uipath.com/t/extract-data-using-data-scraping/461509)

<div class="topic-metadata">

**Author:** [@RK\_0](https://forum.uipath.com/u/RK_0)\
**Replies:** 5\
**Last updated:** [August 2, 2022, 9:07am UTC](https://forum.uipath.com/t/extract-data-using-data-scraping/461509 "2022-08-02T09:07:58Z")

</div>

Hello everyone. I am facing an issue while extracting data using data scraping. Note; tried data scraping; maximum number=0, cannot use scroll down or page end option; All the data is on one single page, but the issue…

---

## [Not able to extract entire web page without scrolling to bottom of the page](https://forum.uipath.com/t/not-able-to-extract-entire-web-page-without-scrolling-to-bottom-of-the-page/461642)

<div class="topic-metadata">

**Author:** [@RK\_0](https://forum.uipath.com/u/RK_0)\
**Replies:** 5\
**Last updated:** [August 3, 2022, 7:56am UTC](https://forum.uipath.com/t/not-able-to-extract-entire-web-page-without-scrolling-to-bottom-of-the-page/461642 "2022-08-03T07:56:34Z")

</div>

Hello everyone. I am able to extract the web page but first i have to scroll to the end of the page, only then all the data loads then im able to extract, but scrolling down to bottom takes lot of time while running, …

---

## [Running onclick JavaScript command using 'Inject JS Script'](https://forum.uipath.com/t/running-onclick-javascript-command-using-inject-js-script/461114)

<div class="topic-metadata">

**Author:** [@Mitesh\_Sachania](https://forum.uipath.com/u/Mitesh_Sachania)\
**Replies:** 2\
**Last updated:** [August 1, 2022, 1:48am UTC](https://forum.uipath.com/t/running-onclick-javascript-command-using-inject-js-script/461114 "2022-08-01T01:48:39Z")

</div>

Hi there, There’s an automation that I’m building which requires clicking a link nested under 6 different levels of hidden HTML tags, in order to reach the target link I’m having to click on each HTML tag until I open a…

---

## [JavaScriptを実行したい](https://forum.uipath.com/t/javascript/452213)

<div class="topic-metadata">

**Author:** [@Ueda.i](https://forum.uipath.com/u/Ueda.i)\
**Replies:** 2\
**Last updated:** [June 30, 2022, 1:35am UTC](https://forum.uipath.com/t/javascript/452213 "2022-06-30T01:35:10Z")

</div>

お世話になっております。 以下のスクリプトを実行するとエラーが発生してしまいます。 なおJSソースはChromeのConsoleで実行すると正常に機能します。 function() { // 表示されているid属性がfeed\_containerのメッセージ領域HTMLを取得 let feedContainer = document.getElementById("feed\_container"); // 特定クラスのa…

---

## [Use inject JS activity in a scenario to scroll page](https://forum.uipath.com/t/use-inject-js-activity-in-a-scenario-to-scroll-page/447074)

<div class="topic-metadata">

**Author:** [@Dhruvi\_Arumugam](https://forum.uipath.com/u/Dhruvi_Arumugam)\
**Replies:** 3\
**Last updated:** [June 10, 2022, 5:29am UTC](https://forum.uipath.com/t/use-inject-js-activity-in-a-scenario-to-scroll-page/447074 "2022-06-10T05:29:37Z")

</div>

Hi All, I want help in a scenario where I want to scroll over a webpage using invoke js activity. To start with I followed the below link created a similar function with something like “Window.scrollTo(0,5000)” but n…

---

## [EdgeのIEモードでJavaScriptの実行エラーについて](https://forum.uipath.com/t/edge-ie-javascript/422754)

<div class="topic-metadata">

**Author:** [@taka.sato](https://forum.uipath.com/u/taka.sato)\
**Replies:** 2\
**Last updated:** [May 31, 2022, 12:17pm UTC](https://forum.uipath.com/t/edge-ie-javascript/422754 "2022-05-31T12:17:21Z")

</div>

はじめまして。 只今、利用ブラウザをIEからEdgeへの移行作業を行っております。 EdgeのIEモードでアクティビティ「JSスクリプトを挿入」を利用すると 下記のエラーがUiPathから出力されます。 JSスクリプトを挿入:HRESULTからの例外:0x80020101 以下の変数宣言ですらエラーになります。 var msg = ‘テスト’; また、IEモードではない場合はエラーが出ません。 IEモードではJavaSc…

---

## [Issue with getting url or href link of a ui element](https://forum.uipath.com/t/issue-with-getting-url-or-href-link-of-a-ui-element/421561)

<div class="topic-metadata">

**Author:** [@MasterOfLogic](https://forum.uipath.com/u/MasterOfLogic)\
**Replies:** 1\
**Last updated:** [May 8, 2022, 3:21pm UTC](https://forum.uipath.com/t/issue-with-getting-url-or-href-link-of-a-ui-element/421561 "2022-05-08T15:21:56Z")

</div>

Hello guys I have this html table on a website , each paper clip there holds an embedded url, however when i use get attribute to get the url this is what it returns : https://domainName/webcivilcj/CIVILCaseJacketWeb/pa…

---

## [Use Browser Chrome: Inject JS script is not supported for this element - Help!](https://forum.uipath.com/t/use-browser-chrome-inject-js-script-is-not-supported-for-this-element-help/406426)

<div class="topic-metadata">

**Author:** [@ajeffers](https://forum.uipath.com/u/ajeffers)\
**Replies:** 7\
**Last updated:** [March 15, 2022, 9:25pm UTC](https://forum.uipath.com/t/use-browser-chrome-inject-js-script-is-not-supported-for-this-element-help/406426 "2022-03-15T21:25:47Z")

</div>

I am attempting to use JavaScript to make clip on a process. I wanted to test this first with google.com to see if I could click on a specific button by element name. It’s not working. I am using Chrome. I came across th…

---

## [How do I build an app which scrapes data of a website in the background and shows the scraped data back to the user in the same web app/chrome extension?](https://forum.uipath.com/t/how-do-i-build-an-app-which-scrapes-data-of-a-website-in-the-background-and-shows-the-scraped-data-back-to-the-user-in-the-same-web-app-chrome-extension/405653)

<div class="topic-metadata">

**Author:** [@shubham\_metkar](https://forum.uipath.com/u/shubham_metkar)\
**Replies:** 0\
**Last updated:** [March 9, 2022, 9:21am UTC](https://forum.uipath.com/t/how-do-i-build-an-app-which-scrapes-data-of-a-website-in-the-background-and-shows-the-scraped-data-back-to-the-user-in-the-same-web-app-chrome-extension/405653 "2022-03-09T09:21:05Z")

</div>

So I want to build a web app/chrome extension, which is potentially a client app-API, so the desired process is like this user is requesting for a data of some random website(whose scraping we intent to perform) scrapi…

---

## [How to Get Image URL which is hidden in HTML Code using Inject JS activity](https://forum.uipath.com/t/how-to-get-image-url-which-is-hidden-in-html-code-using-inject-js-activity/226425)

<div class="topic-metadata">

**Author:** [@ankswe](https://forum.uipath.com/u/ankswe)\
**Replies:** 4\
**Last updated:** [May 27, 2020, 11:22am UTC](https://forum.uipath.com/t/how-to-get-image-url-which-is-hidden-in-html-code-using-inject-js-activity/226425 "2020-05-27T11:22:50Z")

</div>

Hi I am trying to build a test bot to download the exact url for the images and videos posted on instagram. Upon clicking on Image, and inspecting it below is the portion where URL to that image is present: Can anyo…

---

## [Update a JavaScript page in the job status](https://forum.uipath.com/t/update-a-javascript-page-in-the-job-status/395881)

<div class="topic-metadata">

**Author:** [@Shoosha](https://forum.uipath.com/u/Shoosha)\
**Replies:** 1\
**Last updated:** [February 1, 2022, 3:38pm UTC](https://forum.uipath.com/t/update-a-javascript-page-in-the-job-status/395881 "2022-02-01T15:38:07Z")

</div>

Hi guys! I want to building a JS page that contains a table of jobs the user ran, and their status (started, in progress, finished). What is the best way to follow the status and change the view accordingly? I’m thinki…

---

## [Inject JS to make API calls](https://forum.uipath.com/t/inject-js-to-make-api-calls/309673)

<div class="topic-metadata">

**Author:** [@zspilman](https://forum.uipath.com/u/zspilman)\
**Replies:** 4\
**Last updated:** [November 30, 2021, 1:24pm UTC](https://forum.uipath.com/t/inject-js-to-make-api-calls/309673 "2021-11-30T13:24:42Z")

</div>

I am trying to utilize the Inject JS activity to make an API (Http) call from an existing browser. Being that you can only input a single anonymous function, is there a way to get a value from the call instead of returni…

---

## [Where to find Form Activities extended docs and examples?](https://forum.uipath.com/t/where-to-find-form-activities-extended-docs-and-examples/317694)

<div class="topic-metadata">

**Author:** [@gendalfas](https://forum.uipath.com/u/gendalfas)\
**Replies:** 2\
**Last updated:** [May 26, 2021, 7:23am UTC](https://forum.uipath.com/t/where-to-find-form-activities-extended-docs-and-examples/317694 "2021-05-26T07:23:39Z")

</div>

Hello, recently started working on attended automation which will require quite heavy user involvement and I seem to have small issues with forms. For me it is not very clear “Component JSON” part and all possible valu…

---

## [カスタムアクティビティからExcelを開く方法](https://forum.uipath.com/t/excel/309151)

<div class="topic-metadata">

**Author:** [@pthfs1](https://forum.uipath.com/u/pthfs1)\
**Replies:** 1\
**Last updated:** [April 24, 2021, 4:00pm UTC](https://forum.uipath.com/t/excel/309151 "2021-04-24T16:00:48Z")

</div>

カスタムアクティビティで現れるフォーム画面からローカルにあるExcelファイルを開きたいです。 htmlのaタグではうまくいかないため（何も反応が起こりません）、javascriptを書く必要があると思いましたが以下の記述ではだめでした。 document.location.href = “C:\\temp\\test.xlsx” UiPathのカスタムアクティビティの仕様でaタグやjavascriptの一部の動作が制限されているよう…

---

## [Start UiPath Robots from the JavaScript | RobotJS | JavaScript | UiPath assistant | Local process](https://forum.uipath.com/t/start-uipath-robots-from-the-javascript-robotjs-javascript-uipath-assistant-local-process/289245)

<div class="topic-metadata">

**Author:** [@Cristian\_Negulescu](https://forum.uipath.com/u/Cristian_Negulescu)\
**Replies:** 0\
**Last updated:** [February 8, 2021, 5:34am UTC](https://forum.uipath.com/t/start-uipath-robots-from-the-javascript-robotjs-javascript-uipath-assistant-local-process/289245 "2021-02-08T05:34:21Z")

</div>

How to start a process with parameters on UiPath Robots from the JavaScript​ using RobotJS. Code: ​0:00​ Intro 0:35​ RobotJS 1:05​ UiPath processes 1:45​ New Web page to run JavaScript 3:30​ Button l…

---

## [Inject JS script is not supported for this element](https://forum.uipath.com/t/inject-js-script-is-not-supported-for-this-element/207205)

<div class="topic-metadata">

**Author:** [@brunofl](https://forum.uipath.com/u/brunofl)\
**Replies:** 0\
**Last updated:** [March 30, 2020, 4:55pm UTC](https://forum.uipath.com/t/inject-js-script-is-not-supported-for-this-element/207205 "2020-03-30T16:55:27Z")

</div>

I’m trying running the activity Inject Js with the js below, but i i got the error: Inject Js Script ‘Chrome\_RenderWidgetHost…’: Inject JS script is not supported for this element. function teste() { document.getElemen…

[Next page](https://forum.uipath.com/tag/javascript/642.md?match_all_tags=true&page=1&tags%5B%5D=javascript)
