rb/lib/selenium/webdriver/remote/w3c_bridge.rb
#
# executes a command on the remote server.
#
# @return [WebDriver::Remote::Response]
#
executes a command on the remote server.
executes a command on the remote server .
def raw_execute(command, opts = {}, command_hash = nil)
          verb, path = COMMANDS[command] || raise(ArgumentError, "unknown command: #{command.inspect}")
          path       = path.dup
          path[':session_id'] = @session_id if path.include?(":session_id")
          begin
            opts.each { |key, value|
              path[key.inspect] = escaper.escape(value.to_s)
            }
          rescue IndexError
            raise ArgumentError, "#{opts.inspect} invalid for #{command.inspect}"
          end
          puts "-> #{verb.to_s.upcase} #{path}" if $DEBUG
          http.call verb, path, command_hash
        end
def raw_execute ( command , opts = { } , command_hash = nil ) verb , path = COMMANDS [ command ] || raise ( ArgumentError , "unknown command: #{command.inspect}" ) path = path . dup path [ ':session_id' ] = @session_id if path . include? ( ":session_id" ) begin opts . each { | key , value | path [ key . inspect ] = escaper . escape ( value . to_s ) } rescue IndexError raise ArgumentError , "#{opts.inspect} invalid for #{command.inspect}" end puts "-> #{verb.to_s.upcase} #{path}" if $DEBUG http . call verb , path , command_hash end
executes a command on the remote server.
executes a command on the remote server .
None
WebDriver::Remote::Response
command
<not_specific>
opts
<not_specific>
command_hash
<not_specific>