Method: Selenium::WebDriver::FileReaper.reap!

Defined in:
lib/selenium/webdriver/common/file_reaper.rb

.reap!Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.


51
52
53
54
55
56
57
58
# File 'lib/selenium/webdriver/common/file_reaper.rb', line 51

def reap!
  if reap?
    tmp_files.each { |file| FileUtils.rm_rf(file) }
    true
  else
    false
  end
end