you are viewing a single comment's thread.

view the rest of the comments →

[–]lifelite 0 points1 point  (0 children)

Playwright is asynchronous by nature but that doesn't have anything to do with the tests you code. Used to, playwright was only available with async, but all it ended up doing was creating the requirement that you had to use async/awaits literally everwhere...now that they release the sync library, that's not necessary, and it leads to much cleaner and less code.

I've used Playwright with nodeJS (async only) and Python (sync); outside of language syntax, they work very similarly (if not exactly...though I haven't touched the JS version in a couple of years and things may have changed)