lib/bauxite/core/context.rb in bauxite-0.4.3 vs lib/bauxite/core/context.rb in bauxite-0.4.4

- old
+ new

@@ -119,9 +119,14 @@ '__SELECTOR__' => options[:selector] || 'sid' } @aliases = {} @tests = [] + client = Selenium::WebDriver::Remote::Http::Default.new + client.timeout = (@options[:open_timeout] || 60).to_i + @options[:driver_opt] = {} unless @options[:driver_opt] + @options[:driver_opt][:http_client] = client + _load_extensions(options[:extensions] || []) handle_errors do @logger = Context::load_logger(options[:logger], options[:logger_opt]) end \ No newline at end of file