Close the browser and remove the object reference to it.
#include <IE.au3>
_IEQuit(ByRef $o_object)
| $o_object | Object variable of an InternetExplorer.Application |
| Success: | Returns 1 |
| Failure: | Returns 0 and sets @ERROR |
| @Error: | 0 ($_IEStatus_Success) = No Error |
| 3 ($_IEStatus_InvalidDataType) = Invalid Data Type | |
| 4 ($_IEStatus_InvalidObjectType) = Invalid Object Type | |
| @Extended: | Contains invalid parameter number |
; *******************************************************
; Example 1 - Create an invisible browser window, navigate to a
; website, retrieve some information and Quit
; *******************************************************
#include <IE.au3>
Local $oIE = _IECreate("http://sourceforge.net", 0, 0)
; Display the innerText on an element on the page with a name of "sfmarquee"
Local $oMarquee = _IEGetObjByName($oIE, "sfmarquee")
MsgBox(0, "SourceForge Information", $oMarquee.innerText)
_IEQuit($oIE)