Method: Ferrum::Context#close_targets_connection
- Defined in:
- lib/ferrum/context.rb
#close_targets_connection ⇒ Object
95 96 97 98 99 100 101 |
# File 'lib/ferrum/context.rb', line 95 def close_targets_connection @targets.each_value do |target| next unless target.connected? target.page.close_connection end end |