Calling a javascript function in a webpage


I have a hyperlink on a webpage which uses javascript and the URL is something like this: “javascript:submitAction_win0(”…“)”

How do i use RPA to invoke this javascript function?


Hi @Tank ,

Try below shown activity.

thanks Manoj!

i am not too familiar with javascript. what should i key inside the inject activity? just “submitAction_win0(…)”? i dont know what is inside the javascript submitAction_win0, but just need to call this function.


Hi @Tank ,

In scriptcode property either you write whole JS or just pass the path of js file.
In Input parameter you have to pass your arguments.