I've always wondered why not to use request interceptors, get the html/json/xml/whatever url and then just call them.
If you need cookies/headers, you can always open the browser, log in and then make the same requests in the console, instead of waiting for the browser to load and scrape the UI (by xpath, etc.)
sounds weird going in circles:
- SPA call some URL
- SPA use the response data to populate the UI
- You scrape the UI
instead of just calling the url inside the browser?
am i missing something?
If you need cookies/headers, you can always open the browser, log in and then make the same requests in the console, instead of waiting for the browser to load and scrape the UI (by xpath, etc.)
sounds weird going in circles: - SPA call some URL - SPA use the response data to populate the UI - You scrape the UI
instead of just calling the url inside the browser? am i missing something?