7 ms·
Everybody interested in web automation should also check out Helium [1]. It's a wrapper around Selenium, thus inherits its stability, speed and browser support.
by mherrmann 10y ago
Everybody interested in web automation should also check out Helium [1]. It's a wrapper around Selenium, thus inherits its stability, speed and browser support. But instead of requiring you to write driver.find_element_by_id("btn356").click() you can just say click("Download"). This alleviates the need for record and playback tools, because scripts are so easy to write. It also avoids the problem that scripts created via R&P are virtually unmaintainable. Helium is commercial and I'm one of the authors.
[1]: https://heliumhq.com https://heliumhq.com
- ZenoArrow 10y agoThanks for the link. Personally I find Canopy scripts to be readable, but good luck with pushing for more automated web testing. http://lefthandedgoat.github.io/canopy/ http://lefthandedgoat.github.io/canopy/
- simooooo 10y agoLooks very cool. I'll have to try this out
- nnq 10y agoI went with CodeceptJS [1] instead (Seleniu in nodejs, with most of the async madness abstracted away) for the last project, but, as thangalin says it best "It is a lot of effort to automate user interface testing with Selenium, especially for web applications with complex user interfaces, concealed options, and so forth.". Advantage is that testrunner code mingles seamlessly with injected-into-browser-js. Problem is... complexity, and twilight-zone-class bugs in the testing tools themselves: there comes a point where the logic of the acceptance tests is so convoluted, and they are so undebuggable and unmaintainable, that fixing and extending them eats the time of the best and most expensive developers, instead of being a great tasks for juniors... Eager to try helium next, hope it sucks less :) [1]: http://codecept.io/ http://codecept.io/ Edit+: don't get me wrong, CodeceptJS is amazing compared to the madness of seleniu-webdriver/webdriver.io used "raw", with promises and callbacks, so kudos to its devs. But its far from optimal... though this maybe because selenium itself is far from optimal.