Page 1 of 1

Save page using title as filename?

Posted: Mon Nov 24, 2014 3:38 pm
by acc5555
Hi,

I am new to imacros, tried to find solution to this but without luck.
I need simple macro to save htm page using title, if I record this macro after playing it it does not save page using title, but it use time stamp.

in this example case - file name should be:
"Browser Automation, Data Extraction and Web Testing | iMacros Software.htm"

This is a code of macro:
URL GOTO=http://www.iopus.com/
SET !EXTRACT_TEST_POPUP NO
TAG POS=1 TYPE=TITLE ATTR=* EXTRACT=txt
SAVEAS TYPE=CPL FOLDER=D:\ FILE={{!EXTRACT}}.htm

After playing got this error:

NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebBrowserPersist.saveDocument], line: 4 (Error code: -1001)

Where is an error?
I am using portable firefox 33.1, imacros 8.6.0