It's not just this library. They are ALL like this. Some sort of "human readable" API on top of…I'm not really sure. Usually there is moralizing about how to locate elements and implied shame in trying to access the underlying DOM.
And they are all SUPER slow and flaky. I think whatever browser API they must all use is unstable or changes frequently or something.
This is just wild because it's the biggest platform on earth and the testing tools for it are rudimentary at best.