I am going to start on Ui automation and i have tried both node-js version and python version of playwright. Both are awesome, but in order to start on automation framework i want to know which language should i opt for. Really need some solid points, Please help. Will i be missing any major feature in terms of maintainability, framework design, and CI/CD if i choose Python version?
This thread is trying to answer question "Which language should I opt for when using Playwright for UI automation, Node.js or Python?"
What is nice with node.js is that there are already a lot of things built into playwright for visual comparisons and accessibility stuff and built in slack reporters for ci/cd's and more often than not, developers can easily update/fix tests, it is though a bit of a learning curve.
Python is making a comeback and is very versatile and easy to pickup but you will be going outside of playwright to setup and configure tests and slack integrations and such.
I believe it was these: -Visual comparison tool (https://playwright.dev/docs/test-snapshots) which was like a critical element check for python but easier to set up. -Accessibility testing -Developers(on my team) able to assist with issues/questions -I don't see a lot of python users on discord and a ton of node.js(So help is more accessible) -Playwright had a lot more functions to help with network waits and element waiting(waitForResponse, waitForSelector) (And a few others that may come to mind later)
-I don't see a lot of python users on discord and a ton of node.js(So help is more accessible) This is also kind of a what I observe. While working currently with Python. Whatever issue I try to solve or whatever question I have, all the information I see quite often Node.js related. So it seems like Node community for Playwright is way bigger than the Python one, hence you can expect more support. Also, in case you choose Node you will develop new skill as you said, but your co-worker won't, which makes you more valuable at the market 😆
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email firstname.lastname@example.org.