Live data from Hacker News

Show HN: Helium - Simple web automation

heliumhq.com

1–10 of 71 posts

Show HN: Helium - Simple web automation

#1
Hi everyone,

I'm working for a startup called BugFree Software and would love to hear your feedback on a new product we are launching today.

Helium is a library that wraps around Selenium to simplify web automation. It does away with many of the technicalities involved with web scripting. For example: Here is a Selenium script. Can you guess what it does?

    >>> ff = Firefox()
    ...
    >>> text_area = ff.find_element_by_id("u_0_1q")
    >>> text_area.send_keys("Hello World!")
    >>> button = ff.find_element_by_class_name("_42g-")
    >>> button.click()
Here is the same script rewritten using Helium:

    >>> start_firefox()
    ...
    >>> write("Hello World!", into="Update Status")
    >>> click("Post")
Can you now guess what it does? That's right; It updates your Facebook status.

In an extended comparison that we were invited to write for the December issue of Professional Tester (professionaltester.com), we found that an example script automating Gmail took 66% fewer lines of code and 75% less effort using Helium than with Selenium alone.

You can find more information and download Helium from http://heliumhq.com. Any feedback would be highly appreciated.

Hoping to hear your thoughts and comments, Michael Herrmann heliumhq.com

Show HN: Helium - Simple web automation
heliumhq.com

Re: Show HN: Helium - Simple web automation

#10

A question (not meant facetiously) but what's the benefit of this over say, Capybara/webrat, which already has the click and fill_in human readable methods? The block of example code looks pretty much like an RSpec/Capybara spec, is all.

Several things. I claim it's still more high level than Capybara. And it's available for languages other than Ruby. Right now, you can download it for Python. But we'll also release bindings for (hopefully all) languages supported by Selenium.
Post reply on HN