You should check out Libretto. It can take the playwright code and turn it into a script you can deploy