common/src/rb/lib/selenium/webdriver/driver.rb in selenium-webdriver-0.0.13 vs common/src/rb/lib/selenium/webdriver/driver.rb in selenium-webdriver-0.0.14
- old
+ new
@@ -37,10 +37,10 @@
when :chrome
WebDriver::Chrome::Bridge.new(*args)
when :firefox, :ff
WebDriver::Firefox::Bridge.new(*args)
else
- raise ArgumentError, "unknown driver: #{driver.inspect}"
+ raise ArgumentError, "unknown driver: #{browser.inspect}"
end
driver = new(bridge)
unless bridge.driver_extensions.empty?
\ No newline at end of file