class Pincers::Webdriver::HttpDocument
Public Class Methods
new(_backend)
click to toggle source
# File lib/pincers/webdriver/http_document.rb, line 6 def initialize(_backend) @backend = _backend end
Public Instance Methods
content()
click to toggle source
# File lib/pincers/webdriver/http_document.rb, line 18 def content @backend end
content_type()
click to toggle source
# File lib/pincers/webdriver/http_document.rb, line 14 def content_type 'text/html' end
uri()
click to toggle source
# File lib/pincers/webdriver/http_document.rb, line 10 def uri Pincers::Http::Utils.parse_uri @backend.document_url end