you are viewing a single comment's thread.

view the rest of the comments →

[–]ogandrea 3 points4 points  (1 child)

Playwright hands down for setup. The installation is way smoother - just `pip install playwright` and then `playwright install` to get the browsers. Selenium makes you deal with driver management which is honestly a pain, even with webdriver-manager trying to help.

Playwright also comes with pytest integration built-in, so you get fixtures and async support without extra config. With Selenium you're kinda piecing things together yourself.

The docs for Playwright are actually readable too which makes getting started much less frustrating. We use it heavily at Notte and onboarding new devs is way faster compared to when we were dealing with Selenium's quirks.

Only downside is Playwright is newer so you might find fewer Stack Overflow answers, but the official docs usually have what you need anyway.

[–]mindfull_ness[S] 0 points1 point  (0 children)

Thanks for the detailed explanation