The renewal maintenance has officially ended for Progress iMacros effective November 30, 2023.
This Wiki site will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely, The Progress Team
CLEAR
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. In iMacros for Firefox 10, the command accepts optional parameter which restricts cookies removal to specified domain or URL.
Syntax
CLEAR
Parameters
- [domain/URL]
- Optional, available in iMacros for Firefox 10 only.
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.imacros.net 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.
- Unlike iMacros for Chrome, the CLEAR command in iMacros for Firefox 10 clears both cache and cookies. It also accepts an argument to filter the cookies to be cleared by domain name. Using CLEAR with no argument clears all cookies and cache. Using e.g.
CLEAR facebook.com
will clear all of the cache, but only cookies from Facebook. If you only want to clear the cache, then specify a nonexistent domain name:
CLEAR xxx.yyy.zzz