Hacker News new | past | comments | ask | show | jobs | submit login

I remember a workmate having to deal with some difficult to scrape data at a previous job - the page randomly rendered with different mark-up (but the same appearance) to mitigate pulling out data using selectors. I think he got to the bottom of it eventually but it made testing his work a pain.



Playwright's layout selectors might help the next time you encounter this.

https://playwright.dev/docs/selectors#selecting-elements-bas...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: