If you need more background information just ask.
Javascript:
<script type="text/javascript>
var buttons = document.getElementsByClassName("_jvpff");
console.log(buttons);
console.log(buttons[0]); //added after error from command below
console.log(buttons[0].innerHTML);
</script>
Console:
HTML:
The array contains valid elements, but when trying to access an element with an index, it returns undefined.
Thanks.


document.getElementsByClassNamereturns a LIVE HTML Node List which updates as elements become available, and the console has its own quirks for when the contents of an object are evaluated and updated. Ifbutton[0]isundefinedat the time of trying to access it, then it'sundefinedat that time.