blob: ec22ee50836260a25698af68e39ef70749215f57 (
plain)
1
2
3
4
5
|
Don't use Selenium, use [Playwright](https://playwright.dev/python/):
* Playwright automatically sets up headless browsers.
* Provides convenient abstractions for locating elements in a page (mostly no XPath required. It can match "intelligently" using text).
* Has a handy UI tool that records your actions in a browser and writes equivalent *readable* Playwright code.
|