r/softwaretesting • u/Wide_Researcher_3565 • 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.
1
u/emphieishere Aug 22 '24
Selenium is unbearable shit. I can't stand it anymore. Will try Playwright and tell the difference. Selenium is not that bad until some complex stuff. Once you want to add auth proxy - you easier learn how to walk without legs. I mean yeah, there are posts and discussions about adding it with creating an extension, or whatever, but then it turns out dev team deprecated some methods, anything else.. Try to put in Selenium grid with docker - it won't work. I spent 3 days like an idiot, tried everything. Basic auth works, however, while proxy doesn't. Well maybe I am an idiot. But if it turns out that I can do proxauth on Playwright in 15 minutes - then bye-bye dinoSaur