Bug calling 'super' in SeleniumSession initializer
Reported by Nando | October 3rd, 2008 @ 12:29 PM
When SeleniumSession.new is called as described in selenium_spike.rb it raises the following error:
./lib/webrat/selenium/selenium_session.rb:5:in `initialize': wrong number of arguments (1 for 0) (ArgumentError)
from ./lib/webrat/selenium/selenium_session.rb:5:in `initialize'
from selenium_spike.rb:23:in `new'
from selenium_spike.rb:23
It just needs the parenthesis in the super call (that's "super()") to avoid passing the selenium driver to its parent.
The patch includes an initial version of selenium_session_spec.rb.
Cheers!
Comments and changes to this ticket
-
Bryan Helmkamp October 21st, 2008 @ 11:36 PM
- → State changed from new to resolved
Should be all set in my latest master. Thanks.
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Ruby Acceptance Testing for Web applications
