Let say I have a SPA, homepage URL is www.localhost.com.
When I clicked on the button in the page, www.localhost.com/button will display in the browser address bar.
Under the chrome devtool -> network tab, I only can observe https://www.localhost.com/static/js/8.5378837b.chunk.js is loaded.
The question, when I use the k6 http.get method to call www.localhost.com/button URL, I noticed the content of the page is not showing https://www.localhost.com/static/js/8.5378837b.chunk.js response data, how can not just hard code this URL because when there is a new deployment, the JS filename will changes. How can i overcome this issue?