# File lib/selenium/webdriver/opera/bridge.rb, line 13 def initialize(opts = {}) @service = Service.default_service :log => (opts[:logging_level] ? true : false) http_client = opts.delete(:http_client) caps = create_capabilities(opts) @service.start remote_opts = { :url => @service.uri, :desired_capabilities => caps } remote_opts.merge!(:http_client => http_client) if http_client super(remote_opts) end
# File lib/selenium/webdriver/opera/bridge.rb, line 31 def browser :opera end
# File lib/selenium/webdriver/opera/bridge.rb, line 42 def capabilities @capabilities ||= Remote::Capabilities.opera end
Generated with the Darkfish Rdoc Generator 2.