Class: AutoBrowse::Page
- Inherits:
-
Object
- Object
- AutoBrowse::Page
- Includes:
- Pagelike
- Defined in:
- lib/auto_browse/page.rb
Instance Attribute Summary collapse
-
#browser ⇒ Object
Returns the value of attribute browser.
Instance Method Summary collapse
-
#initialize(browser) ⇒ Page
constructor
A new instance of Page.
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
#browser ⇒ Object
Returns the value of attribute browser.
124 125 126 |
# File 'lib/auto_browse/page.rb', line 124 def browser @browser end |