Class: HTTPalooza::Players::SeleniumPlayer
- Defined in:
- lib/httpalooza/players/selenium.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
execute!, #initialize, introducing!, #name
Constructor Details
This class inherits a constructor from HTTPalooza::Players::Base
Instance Method Details
#response ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/httpalooza/players/selenium.rb', line 6 def response if request.method == :get get_url elsif request.method == :post post_html_form else request_ajax end ensure driver.quit end |