How to automate a Vuex single page web application

Description of the problem When building test automation for a single page app (SPA) written with Vuex (Vue.js), how can I reliably simulate user interaction on complex elements using JavaScript? Modern test frameworks like TestCafe and Cypress (and Microsoft’s Power Automate) run inside the browser’s JavaScript web engine and simulate input with JavaScript. But older tools like Selenium WebDriver (and in my case, plain JavaScript) have trouble simulating user actions on these complex Vuex elements....

May 25, 2023 · 10 min