NirKlieman 0 Posted November 29, 2015 Hi all,I have the following problem:I load a web-page and want to press its links. Therefore I start with the following code:Global $oIE = _IECreate("http://" & $ip & "/ipp/admin/myPage.php") _IELoadWait($oIE) Sleep(7000) Local $oLinks = _IELinkGetCollection($oIE) Local $iNumLinks = @extended Local $sTxt = $iNumLinks & " links found" & @CRLF & @CRLF For $oLink In $oLinks $sTxt &= $oLink.href & @CRLF Next The problem is that in IE-11 the command _IECreate do not load the page well (and I don't know why) what makes the _IELinkGetCollection command that comes after to return 0 links.The real annoying stuff is that happens "sometimes" - in 7 of 10 times. To make the problem even weirder I'll say that It didn't happen at all In IE9.I tried to increase the timeout after the page-load and debug the functions in IE.au3 but nothing works.Please assist,Thanks Share this post Link to post Share on other sites
mikell 1,014 Posted November 29, 2015 the command _IECreate do not load the page well Could you be more precise on "not well" ? Share this post Link to post Share on other sites
NirKlieman 0 Posted November 30, 2015 Could you be more precise on "not well" ? I wrote "not well" because _IELinkGetCollection not find links. Not because something that I found.mikell Share this post Link to post Share on other sites