Subject: | NS_ERROR_XPC_NOT_ENOUGH_ARGS in save_url() |
I am using Firefox 36 with Windows 8.1.
I get following error when I call $mech->save_url() method.
MozRepl::RemoteObject: NS_ERROR_XPC_NOT_ENOUGH_ARGS: Not enough arguments [nsIWebBrowserPersist.saveURI]
This happens because the saveURI method has been changed since Firefox 36. A new parameter is added to saveURI and the number of parameters was changed from 7 to 8. Please see the following document for details.
https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Reference/Interface/nsIWebBrowserPersist#saveURI()