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

5

u/cepeen Mar 27 '24

After years using selenium I find it very refreshing that playwright works just perfectly. Difference is night and day.

1

u/[deleted] Jul 01 '24

hi, can you explain why? I've annoyingly spent a lot of time on selenium recently. And what about automating back end process etc-is there a tool that is leading the way in that? eg etl testing?

2

u/cepeen Jul 01 '24

Playwright has well thought waiters built in, Locator class works well, it’s fast any stable. Does not have limitations of cypress and has great support. Also it’s fully fledged tool with test runner, reporters and even additional “test viewer” where you can check test execution in real time (similarly to cypress).