Module: Vapir::IE::ClearTracksMethods

Included in:
Vapir::IE, Vapir::IE
Defined in:
lib/vapir-ie/clear_tracks.rb

Instance Method Summary collapse

Instance Method Details

#clear_all_tracksObject

Clear all history, cookies, temporary files, form data, and passwords from the browser



49
50
51
# File 'lib/vapir-ie/clear_tracks.rb', line 49

def clear_all_tracks
  ClearTracks.clear_tracks(ClearTracks::All)
end

#clear_cookiesObject

Clear all cookies from the browser



41
42
43
# File 'lib/vapir-ie/clear_tracks.rb', line 41

def clear_cookies
  ClearTracks.clear_tracks(ClearTracks::Cookies)
end

#clear_historyObject

Clear the history of sites that have been visited from the browser



37
38
39
# File 'lib/vapir-ie/clear_tracks.rb', line 37

def clear_history
  ClearTracks.clear_tracks(ClearTracks::History)
end

#clear_temporary_filesObject

Clear temporary copies of web pages, images, and media that are saved



45
46
47
# File 'lib/vapir-ie/clear_tracks.rb', line 45

def clear_temporary_files
  ClearTracks.clear_tracks(ClearTracks::TemporaryFiles)
end