CLEAR

From iMacros
Jump to: navigation, search

Clears the browsers cache and all cookies. Can be useful, for example, to delete Web site cookies so every macro run starts at the same point. It is also useful to use this command before doing website response measurements.

Syntax iMacros Browser IE Plug-in Firefox Chrome

CLEAR

Parameters

None

Examples

Use the CLEAR command so that times of website response measurements are not influenced by using local cache data:

CLEAR 
SET !FILESTOPWATCH mydata.csv 
STOPWATCH ID=total 
URL GOTO=http://www.iopus.com 
STOPWATCH ID=total 

Notes

  • Starting with V7.51 the CLEAR command behavior has changed slightly in iMacros for IE and the iMacros Browser. While it previously worked just like IE's "Delete Cookies" menu entry, it now works like in FireFox, deleting both session and persistent cookies.

See Also

BACK, STOPWATCH