Google Voice - Help finding Javascript HTML to select and delete messages?

Google Voice is great, but I wish it would send a text message for new voicemail messages rather than email. To solve this, I’m working on a script to send a text after receiving an email notification. That part is easy enough, but after doing that, it occurred to me that it would be helpful to select and delete the Google Voice messages via Javascript commands executed with AppleScript. CubeMG’s “How to click a button on a Web Page with AppleScript” was very helpful. But Google Voice seems to be way more complicated than finding a button class or ID. Has anyone attempted any JS with Google Voice?