Question

JavaScript doubt

  • 11 May 2023
  • 1 reply
  • 45 views

Badge +1

const deviceManagement = document.querySelector('body > form:nth-child(21) > table:nth-child(4) > tbody:nth-child(1) > tr:nth-child(2) > td:nth-child(1) > div:nth-child(6) > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(6) > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2)');
deviceManagement.dispatchEvent(new MouseEvent('mouseover', { bubbles: true }));

setTimeout(() => {
  const deviceList = document.querySelector('body > div:nth-child(18) > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(1) > table:nth-child(1) > tbody:nth-child(1) > tr:nth-child(1) > td:nth-child(2)');
  deviceList.click();
}, 1000);

I have this code but i can’t able to run it in the java script action.


1 reply

Badge

Hello, I am experiencing a similar issue with having code that works but I am unable to get it to run in AA360. Were you able to get this resolved?

Reply