There is a website with multi images per model. In the beginning, there were no images shown until we click on every model, which led to adding and loading the images of that model to the gallery (fetch from CDN). There was not any pattern to simulate remote calls.
I use Axios + cheerio npm packages to fetch data, but I can just save the first loading of the page and can't simulate the click event that leads to the manipulated DOM, which puts images in the gallery. Debugging is cumbersome because of many minified jquery functions.
Is there any way or library that allows me to simulate events and get response from the server with manipulated DOM?