Search the Community
Showing results for tags 'ie frame no body tag scrape'.
-
I'm trying to scrape the rendered text from inside a frame in IE with no success. Can someone please help? CODE OF THE PAGE I'M TRYING TO SCRAPE <html> <head> <meta name=vs_targetSchema content="HTML 4.0"> <title>Updating Display</title> <!--Updating Display-- EOL--> </head> <frameset id=toggler framespacing=0 frameborder="1" cols="0%,100%"> <frameset id=filtersframe framespacing=0 frameborder="1" rows="90%,10%"> <frame id="AvailableFilters" name="AvailableFilters" src="AvailableFilters.asp?D=Reporter_Agent_Display|PRIAACC|PRIAACC|5&DT=StandardAgent&CF=&S=0|0&TA=2" marginwidth="0" marginheight="0" scrolling=auto frameborder="yes" noresize="noresize" title="Realtime Hidden"> <frame id="FiltersFrameMessages" name="FiltersFrameMessages" src="../PrivateDisSave.asp" marginwidth="5" marginheight="0" scrolling=no frameborder="yes" noresize="noresize" title="Realtime Hidden"> </frameset> <frame id="DisWithFilters" name="DisWithFilters" src="StdDisplay.asp?D=Reporter_Agent_Display|PRIAACC|PRIAACC|5&DT=StandardAgent&CF=&S=0|0&TA=2&ServerType=1" marginwidth="5" marginheight="0" scrolling=auto frameborder="no" noresize="noresize" title="Realtime Hidden"> </frameset> </html> AUTOIT I'M USING TO TRY AND GET TO THE RENDERED TEXT OF THE PAGE #include <IE.au3> Local $oIE = _IEAttach("Reporter Agent Display") Local $oFrames = _IEFrameGetCollection($oIE) Local $iNumFrames = @extended For $i = 0 To ($iNumFrames - 1) Local $oFrame = _IEFrameGetCollection($oIE, $i) MsgBox(0, "Frame Info", _IEPropertyGet($oFrame, "innertext")) Next Any help would be greatly appreciated. ERROR AUTOIT THROWS WHICH MAKES ME WANT TO WEEP LIKE A CHILD C:Program FilesAutoIt3IncludeIE.au3 (2849) : ==> The requested action with this object has failed.: $oTemp = $o_object.document.body $oTemp = $o_object.document^ ERROR