Class: AutoBrowse::Page

Inherits:
Object
  • Object
show all
Includes:
Pagelike
Defined in:
lib/auto_browse/page.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Pagelike

#bounding_box, #coords, #coords_dimensions, #delete_temp_screenshot, #dimensions, #element_screenshot, #full_page_screenshot, #goto, #mouse, #move, #page, #scroll_to, #temp_screenshot, #viewport_screenshot, #with_temp_screenshot

Constructor Details

#initialize(browser) ⇒ Page

Returns a new instance of Page.



126
127
128
# File 'lib/auto_browse/page.rb', line 126

def initialize(browser)
  @browser = browser
end

Instance Attribute Details

#browserObject

Returns the value of attribute browser.



124
125
126
# File 'lib/auto_browse/page.rb', line 124

def browser
  @browser
end