Class: Spec::Rails::Example::SeleniumExampleGroup
- Inherits:
-
BaseWebratExampleGroup
- Object
- ActionController::IntegrationTest
- BaseWebratExampleGroup
- Spec::Rails::Example::SeleniumExampleGroup
- Defined in:
- lib/webrat_rspec_rails/selenium_example_group.rb
Instance Method Summary collapse
Methods inherited from BaseWebratExampleGroup
Instance Method Details
#current_dom ⇒ Object
9 10 11 |
# File 'lib/webrat_rspec_rails/selenium_example_group.rb', line 9 def current_dom Nokogiri::HTML(response.body) end |
#current_path ⇒ Object
5 6 7 |
# File 'lib/webrat_rspec_rails/selenium_example_group.rb', line 5 def current_path selenium.location.blank? ? "" : URI.parse(selenium.location).path end |