REFRESH

From iMacros
Jump to: navigation, search

Refreshes (Reloads) current browser window. Refresh includes sending a "pragma:nocache" header to the server (HTTP URLs only) which causes all elements of the website to be reloaded from the webserver.

Syntax iMacros Browser IE Plug-in Firefox Chrome

REFRESH

Parameters

None

Examples

Use the REFRESH and STOPWATCH commands to do a statistical measurement of response times:

SET !FILESTOPWATCH myresults.csv 
STOPWATCH ID=total1 
URL GOTO=http://www.iopus.com 
STOPWATCH ID=total1
'Clear cache and reload
CLEAR
STOPWATCH ID=total2 
REFRESH 
STOPWATCH ID=total2
'Clear cache and reload
CLEAR
STOPWATCH ID=total3 
REFRESH 
STOPWATCH ID=total3 
...

See Also

BACK, CLEAR