On Thu, Mar 31, 2011 at 5:35 PM, Marc Weber <marco-oweber / gmx.de> wrote: > Excerpts from Eric Christopherson's message of Thu Mar 31 04:06:32 +0200 2011: >> What would be the best headless web testing/automation library to use, >> given that: >> 1. I want to automate filling in and submitting forms on one web site, >> which uses only a little JavaScript. >> 2. I want something that balances ease of use and stability, and is >> reasonably actively maintained >> ? > > The only headless browser supporting JS I know about is HTMLUnit > (written in Java). I remember having seen some libraries providing Ruby > interfaces for it. Yeah, I looked a little at that. Apparently you can use it from within Selenium and Capybara, and probably others. > If you don't need JS mechanize etc are alternatives. I just discovered I really don't need JS in this case, so I will try mechanize. I'd still like to know the best route to go in the future when I do need JS though.