So it looks like this keys off of class selectors. Anyone know of a solution for cases where you have dynamic selector names? Frameworks like next.js (using styled-jsx) add random strings to class names at build to create classname uniqueness [0].
[0]: https://github.com/vercel/styled-jsx#how-it-works
EDIT: Looks like one solution is to put an ID on the elements you're interacting with. [1]
SikuliX [1] perhaps? It's an image-based automation tool.