Class: Axe::FindsPage
- Inherits:
-
Object
- Object
- Axe::FindsPage
- Defined in:
- lib/axe/finds_page.rb
Constant Summary collapse
- WEBDRIVER_NAMES =
[:page, :browser, :driver, :webdriver]
Instance Method Summary collapse
-
#initialize(world) ⇒ FindsPage
constructor
A new instance of FindsPage.
- #page ⇒ Object
Constructor Details
#initialize(world) ⇒ FindsPage
Returns a new instance of FindsPage.
11 12 13 |
# File 'lib/axe/finds_page.rb', line 11 def initialize(world) @world = world end |
Instance Method Details
#page ⇒ Object
15 16 17 |
# File 'lib/axe/finds_page.rb', line 15 def page from_configuration || implicit or raise "A page/browser/webdriver must be configured" end |