generators/config/templates/drivers/selenium_grid.rb in howitzer-2.2.0 vs generators/config/templates/drivers/selenium_grid.rb in howitzer-2.3.0
- old
+ new
@@ -9,11 +9,11 @@
Selenium::WebDriver::Remote::Capabilities.chrome
elsif CapybaraHelpers.safari_browser?
Selenium::WebDriver::Remote::Capabilities.safari
else
raise Howitzer::UnknownBrowserError, "Unknown '#{Howitzer.selenium_browser}' selenium_browser." \
- ' Check your settings, it should be one of' \
- ' [:ie, :iexplore, :ff, :firefox, :chrome, :safari]'
+ ' Check your settings, it should be one of' \
+ ' [:ie, :iexplore, :ff, :firefox, :chrome, :safari]'
end
if Howitzer.user_agent.present?
if CapybaraHelpers.chrome_browser?
caps['chromeOptions'] = { 'args' => ["--user-agent=#{Howitzer.user_agent}"] }
elsif CapybaraHelpers.ff_browser?