How to extract developer tools

Hello!

I want to extract the following items from the developer tool.

I want get content of value
(-> '{“chart”:[{“Num”:242",F_Thisweek":“2021-05-30”…)
image

Please help me

1 Like

whats the id / class of this element?

1 Like

you can try this @youngchang

  1. save this code in text file e.g. “getValue.txt”
function(e){
var inputs = document.getElementsByTagName('input');

for(var i = 0; i < inputs.length; i++) {
    if(inputs[i].type.toLowerCase() == 'hidden') {
        return(inputs[i].value);
    }
}
}
  1. then use inject js activity, set path = getValue.txt, and set output

Example
image

result
image

1 Like


this is whole contents

1 Like

I’ll try this
Thanks for your help :slight_smile:

1 Like

I’ve been thinking about it for two days!
I was able to solve it thanks to your help!!!
Thank you very much.
Have a nice day :smile: :+1:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.