cancel
Showing results for 
Search instead for 
Did you mean: 

Doubts to run a js script from IRPA

jp_sap
Discoverer
0 Kudos
432

Hi everyone, I need to run the javascript script "document.querySelector ('. RwCloseButton'). Click ()" but from IRPA.

View Entire Topic
former_member717738
Participant

Hey Jean,

You can use AppliName.pName.execScript(document.querySelector('. RwCloseButton').click()); for running js script or you can inject and then run the script whenever you want. You can go through this https://contextor.eu/dokuwiki2/doku.php?id=lib:ctx:ctx.item#ctx_item_execscript for more info.

Br,

Thousif.