Problem get http request value javascript (Solved)

Hi, i got problem to get value of javascript. can help me pls ?


[{"id":"c8f0358e.e784d","type":"inject","z":"fb26e209.588d3","name":"make request","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"x":170,"y":1000,"wires":[["228abffc.9f982"]]},{"id":"228abffc.9f982","type":"http request","z":"fb26e209.588d3","name":"","method":"GET","ret":"txt","paytoqs":false,"url":"","tls":"","proxy":"","x":334.5,"y":1000,"wires":[["308b6423.9c483c"]]},{"id":"53f98f1b.e4b8f","type":"debug","z":"fb26e209.588d3","name":"","active":true,"console":"false","complete":"false","x":670,"y":1000,"wires":[]},{"id":"308b6423.9c483c","type":"html","z":"fb26e209.588d3","name":"selector","property":"","outproperty":"","tag":"#basicUsage","ret":"text","as":"single","x":500,"y":1000,"wires":[["53f98f1b.e4b8f"]]}]

What are you trying to do ?

Your flow shows: request webpage > get element #basicUsage which is 00:00:00 (see source code), but is changed using javascript.

If I understand your logic, this will never work.

Do you want to use a timer in node red ?

no, that example to request value is changed using javascript it is possible or not ?
I appreciate your taking the time to answer my question. It has really helped me, thank you

The http request node will get the raw html of the page - essentially what you get if you 'view source' from your browser.

It does not run any scripts in the page.

If the page contains JavaScript that dynamically changes the page,you cannot use the request node to see those changes.

Depending on what exactly you want, you may find the page is making further http calls for the dynamic content it adds - you could use the URL of those requests instead to get the data directly. The Network tab of your browsers developer tools will help you identify if that's the case.