Skip to content

Instantly share code, notes, and snippets.

@nmnithinkrishna
Created April 12, 2022 08:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nmnithinkrishna/a396b61dbeb907f9ba46f24193db99e3 to your computer and use it in GitHub Desktop.
Save nmnithinkrishna/a396b61dbeb907f9ba46f24193db99e3 to your computer and use it in GitHub Desktop.
UiPath Robot JS
function (element, input) {
var script1 = document.createElement('script');
script1.src = 'https://download.uipath.com/js/Latest/UiPathRobot.js';
script1.type = 'text/javascript';
document.head.appendChild(script1);
var script2 = document.createElement('script');
script2.src = 'https://cdn.jsdelivr.net/gh/nithinnani07/JS_Test@main/TriggerProcesses.js';
script2.type = 'text/javascript';
document.head.appendChild(script2);
const button = document.createElement('input');
button.type='button';
button.value='1100 SMS';
button.onClick='RPA()';
document.getElementsByClassName('table_01')[0].children[0].children[0].appendChild(button);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment