Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've heard about cypress and testcafe both being better alternatives to selenium, but then when I looked into it they both seem pretty similar to selenium. Is there some killer feature making cypress better? Has anyone tried all three and can clarify the differences?


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: