Xk6 browser can be used in single page application (SPA)

Most of system are made up with javascript frameworks such as React JS, Angular, Vue,Svelte can we use to measure performance in frontend page using xk6 browser.

Hi @Elibarick,

Yes, you can use xk6-browser to measure the performance of pages that use React JS, etc. For that, we partially implemented the Locator API (click here to see the documentation).

We haven’t tried the feature on a page that uses 3rd-party frameworks like React. Please let us know how it goes.


1 Like