#18 √ resolved
Nando

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

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

Shared Ticket Bins

People watching this ticket