Questions tagged [celerity]

Celerity is a JRuby wrapper around HtmlUnit – a headless Java browser with JavaScript support. It provides a simple API for programmatic navigation through web applications. Celerity aims at being API compatible with Watir.

Celerity is a JRuby wrapper around HtmlUnit – a headless Java browser with JavaScript support. It provides a simple API for programmatic navigation through web applications. Celerity aims at being API compatible with Watir.

19 questions
0
votes
1 answer

Using Include? in Celerity Screen Scraping Script

I am using to Celerity to screen scrape a web page and I'm attempting to scrape all of the text elements within a particular div class. The following line of code I'm using is throwing the following error: wrong argument type String (expected…
Mutuelinvestor
  • 3,384
  • 10
  • 44
  • 75
0
votes
1 answer

Selenium vs Celerity?

Isn't Selenium better than Celerity when it comes to testing web sites cause real browsers like Firefox, Safari, Chrome and Internet Explorer could be used so that we know our website is compatible with each of them. So if I use Celerity (it's java…
never_had_a_name
  • 90,630
  • 105
  • 267
  • 383
0
votes
1 answer

From IO object too .xls object, how?

I have with my Cucumbertesting, downloaded an .xls file, but this is downloaded as an IO stream in ruby, using Celerity @browser.span(:id, "someid").download Using the gem 'Spreadsheet', I was hoping to verify the document, but this module seems to…
user294937
  • 181
  • 13
0
votes
1 answer

Missing record in Rails Testing

I'm trying to test Rails' Javascript with Cucumber/celerity and factorygirl. The stack itself works, but database is going crazy. I'm running mongrel on 3001 port (tried in both cucumber and test environments) and access it from cucumber via…
Mantas
  • 5,691
  • 6
  • 27
  • 24
1
2