Playwright has Python bindings .
yes I know, I wrote the post
Have you considered just using Playwright? ;)