# References — Browser Automation

> Curadoria (2026) para automação de navegador com Playwright (preferência) e Selenium (legado).

## Docs canônicas
- [Playwright Python](https://playwright.dev/python/docs/intro) — setup e API
- [Playwright locators](https://playwright.dev/python/docs/locators) — seletores resilientes (role, text, testid)
- [Playwright auto-waiting](https://playwright.dev/python/docs/actionability) — por que não usar sleep

## Referências e inspiração
- [Selenium (legado)](https://www.selenium.dev/documentation) — apenas manutenção
- [WebDriver BiDi](https://w3c.github.io/webdriver-bidi/) — padrão futuro
- [PWA/SPA automation pitfalls](https://playwright.dev/python/docs/network) — networkidle e rotas

## Comunidade / tutoriais
- [Playwright trace viewer](https://playwright.dev/python/docs/trace-viewer) — debug de falhas
- [awesome-playwright](https://github.com/mxschmitt/awesome-playwright)
- [Scraping responsibly (robots.txt/ToS)](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CORS) — conhecer os limites do alvo
