Method: PageObject#browser

Defined in:
lib/page-object.rb

#browserWatir::Browser or Selenium::WebDriver::Driver (readonly)

Returns the platform browser passed to the constructor.

Returns:

  • (Watir::Browser or Selenium::WebDriver::Driver)

    the platform browser passed to the constructor



54
55
56
# File 'lib/page-object.rb', line 54

def browser
  @browser
end