navigationError - web automation property

Internet Explorer automation property that returns the browser HTTP navigation error code.

Applies to:
Browser
  var err = browserObj.navigationError;
Arguments:
None.
Remarks:
If no HTTP error has occured the returned code is zero.
Example:
// Navigate to an invalid url and display the navigation error code.
var coreObj    = new ActiveXObject("OpenTwebst.Core");
var newBrowser = coreObj.StartBrowser("a");

newBrowser.WaitToLoad();
WScript.Echo(newBrowser.navigationError);
		
See also:
Browser | Navigate | lastError

© 2017 CodeCentrix Software. All rights reserved.