There is a div that I get by class name and which has a string as the innerHTML value. How do I get this string? If you write console.log(document.getElementsByClassName('player-track-info')); to the console console.log(document.getElementsByClassName('player-track-info')); then an object is displayed which has an innerHTML field of the following content
innerHTML:"Π·Π΄Π΅ΡΡ Π½Π΅ΠΊΠΈΠΉ ΠΊΠΎΠ΄" But if you type console.log(document.getElementsByClassName('player-track-info').innerHTML); then the console displays undefined. What am I doing wrong and how do I get the innerHTML value?