Skip to main content

topic,
I want receive the browser javascript console.log result as an a 360 variable value..

can i get some guide? or a360 browser document? 

my code is here
i = 0;
while (i < 7) {
    element = 'listitem' + i + 'innerListBoxdropdownlisteditorgrd2';
    textContent = document.getElementById(element).textContent;
    console.log(textContent);
    i++;
}

I would appreciate really. it if solution 

logs will be available 

C:\ProgramData\AutomationAnywhere\BotAgent\Logs (for Windows).

 

FYI, 

 

"console" is not defined

 


You cannot read the console.log output natively, last I knew. I know you can incorporate a separate logging tool like Winston or Bunyan that can capture logging, but not sure how that would be implemented in an AA bot.

There are also a couple of Chrome extensions that allow viewing of the console log outside the console. But again, not sure how well you’d be able to capture these real-time in a bot.


Reply