some small progress #include <MsgBoxConstants.au3> #include <ie.au3> _IEErrorHandlerRegister(_My_ErrFunc) ;~ https://msdn.microsoft.com/en-us/library/hh772065(v=vs.85).aspx ;~ https://msdn.microsoft.com/en-us/library/ms535231(v=vs.85).aspx Example() Func Example() ;; Local $oIE = _IECreate('http://samples.msdn.microsoft.com/workshop/samples/css/cssText/cssText.html',1) ; this following site is better for