Ensure browser type is initialized csafely

This commit is contained in:
John Bintz 2015-01-09 11:32:16 -05:00
parent 34693f4ef0
commit fdeb1b9eb5
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ require 'base64'
module PersistentSelenium module PersistentSelenium
class Browser < Capybara::Selenium::Driver class Browser < Capybara::Selenium::Driver
def initialize(browser_type) def initialize(browser_type)
@browser_type = browser_type @browser_type = browser_type.to_s.to_sym
@__found_elements__ = [] @__found_elements__ = []
end end