Sha256: e9d31820d2ddaa2461b9bc9677f7f97c3691245031fe6e478d72adfb8dbcb25e
Contents?: true
Size: 526 Bytes
Versions: 1
Compression:
Stored size: 526 Bytes
Contents
#!/usr/bin/env ruby require 'selenium/client' module Selenium module Client module Protocol def remote_control_command(verb, args=[]) timeout(@default_timeout_in_seconds) do status, response = http_post(http_request_for(verb, args)) if response && encoding = Encoding.default_external response.force_encoding encoding end raise Selenium::CommandError, response unless status == "OK" response end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ramaze.ch.oddb.org-1.0.0 | lib/fixes/selenium.rb |