For Rails apps, I've been using Cuprite (https://cuprite.rubycdp.com/) which uses CDP to talk to Chrome like Playwright which I think is the main thing that makes it more stable. However, it only works with Chrome which isn't ideal.
I've previously used Playwright with a JavaScript web app and I was very impressed, so thanks for posting about this!