3 ms·
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 appe
by jamesfinlayson 5y ago
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.
- no_time 5y agoPlaywright's layout selectors might help the next time you encounter this. https://playwright.dev/docs/selectors#selecting-elements-based-on-layout https://playwright.dev/docs/selectors#selecting-elements-bas...