r/softwaretesting • • Mar 27 '24

Selenium VS Playwright

Hi, I'm a manual tester looking to start the automation testing effort for my company's website from scratch. From doing my research on this sub, I noticed that Playwright with JS/TS is the most recommended combo to learn and get started with. However, one of the devs in my team recommended that I start with Selenium because it's more common and has more documentation and community support. I'm confused now. I'm not particularly keen on learning Java for Selenium and Python with Selenium also doesnt sound appealing because the frontend is coded in JS/TS so I figured Playwright would be perfect.

Can someone tell me about their experience working with Playwright-JS/TS. How is the documentation and community support if i were to run into issues? Also, I might be leaving the company in a couple of months so I want to hand over the automation in a way that it can be picked up easily by the new guy.

56 Upvotes

78 comments sorted by

View all comments

1

u/Lumpy_Ad_8528 Mar 26 '25

Selenium is a classic choice for web testing. It is very reliable across different browsers and languages. It has been around for a long time, so it has a huge community and plenty of resources. Selenium offers excellent stability and wide compatibility. 

Playwright might be newer, but it's attracting attention with its speed and modern features. Developed by Microsoft, it handles complex scenarios better and supports Chrome, Firefox, and WebKit browsers out of the box. Playwright might be the right choice for you if you need best-in-class performance and flexibility. 

So, it all comes down to what works best for your project! Please choose accordingly.