I think this is it: #include <IE.au3> Local $oIE = _IE_Example("form") Local $oTest = Null Local $oErrorHandler = ObjEvent("AutoIt.Error", "_ErrFunc") ConsoleWrite('+ ========================' & @CRLF) ; check if COM ERROR HANLDER Works $oTest = $oIE.FireError ConsoleWrite('! Test1 = ' & @error & @CRLF) ConsoleWrite('+ ========================' & @CRLF) $oTest = $oIE.document.forms.item(0).GetElementsByTag