Method: Mechanize::HTTP::Agent#current_page
- Defined in:
- lib/mechanize/http/agent.rb
permalink #current_page ⇒ Object
Returns the latest page loaded by the agent
380 381 382 |
# File 'lib/mechanize/http/agent.rb', line 380 def current_page @history.last end |