Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Commit

Permalink
Test for the appropriate Selenium import
Browse files Browse the repository at this point in the history
The selenium-webdriver gem also provides "selenium/client", but
it doesn't provide "selenium"
  • Loading branch information
epall committed Jan 23, 2011
1 parent 8947ea8 commit fea21fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/webrat/selenium/selenium_session.rb
Expand Up @@ -4,9 +4,9 @@
require "webrat/selenium/application_servers/base" require "webrat/selenium/application_servers/base"


begin begin
require "selenium" require "selenium/client"
rescue LoadError => e rescue LoadError => e
e.message << " (You may need to install the selenium-rc gem)" e.message << " (You may need to install the selenium-webdriver gem)"
raise e raise e
end end


Expand Down

0 comments on commit fea21fc

Please sign in to comment.