class Metallize
Constants
- VERSION
Attributes
driver[R]
Public Class Methods
inspect()
click to toggle source
# File lib/metallize.rb, line 44 def self.inspect 'Metallize; Mechanize API using Selenium-WebDriver' end
new(browser)
click to toggle source
# File lib/metallize.rb, line 25 def initialize(browser) @driver = Selenium::WebDriver.for browser end
Public Instance Methods
get(uri)
click to toggle source
# File lib/metallize.rb, line 29 def get(uri) driver.get(uri) Page.new(driver) end
method_missing(sym)
click to toggle source
# File lib/metallize.rb, line 40 def method_missing(sym) driver.send sym end
quit()
click to toggle source
# File lib/metallize.rb, line 34 def quit driver.quit end
Also aliased as: close