Invoking JS Script function from webpage using Inject activity

Hi Friends,


I need to access a Javascript function from a HTML which is already running.
How to do that?

**<input type = 'button' onClick='callMyFunction()'>Submit</input>**
**  function callMyFunction()   {     alert('Hi I am Here');  }**
**  function callSample()         { alert('Welcome');}**

Question is: How to call the function “callSample()” through Inject activity of Uipath?

Thanks a lot,
Ramani Nagarajan

Hi @ramani600091,
Could you precise what would you like to achieve with this HTML example?