Get Button Text JavaScript
document.querySelector("button .button-class").innerText();
Leo
document.querySelector("button .button-class").innerText();