3 ms·
Basically the main difference is that Selenium executes outside the browser and controls the browser through the network. This has benefits like you can use any
by richeyryan 6y ago
Basically the main difference is that Selenium executes outside the browser and controls the browser through the network. This has benefits like you can use any language. The likes of Cypress and TestCafe execute in browser. The main downside to this is you have to use JS or a compile to JS language however the argument is you have less latency and better access to the DOM making tests more quicker and more robust. Arguably JS is a language that is well suited to asynchronous event driven applications like e2e tests