#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 Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

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

Attachments

Pages