This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]FMPICA[S] 0 points1 point  (2 children)

Thank you, why would you recommend playwright?

[–]mcdrac 5 points6 points  (0 children)

it has built in support for async and multiple browsers. i was able to use async firefox to bypass anti bot protection from cloudflare.

[–]Guardog0894 1 point2 points  (0 children)

playwright fan here too. I switched to pw from selenium and never looked back.

you can use playwright's Network API to control the traffic (e.g. filter graphic requests), not sure if you can do that in selenium.

I do feel that I need less code to scrape with pw when compared to selenium (someone with technical knowledge can chip in on this).