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.

[View source]

58
59
60
61
62
63
64
65
# File 'lib/selenium/webdriver/common/file_reaper.rb', line 58

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