rb/lib/selenium/webdriver/remote/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
          WebDriver.logger.info("-> #{verb.to_s.upcase} #{path}")
          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 WebDriver . logger . info ( "-> #{verb.to_s.upcase} #{path}" ) 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
opts
command_hash