Search the Community
Showing results for tags 'getElementById'.
-
I am new to AutoIT so my apologies if this is trivial, but I am only finding IE references. Is there a library besides the IE one to control browser windows? I will not use IE, only Edge or Chrome (possibly FireFox if there is no other choice) I have the script I am working on doing everything it needs to do but the last item, opening a webpage and signing in runs into a snag as there is an accept dialog screen, that displays after login, that must be okayed It is the active window, so I need to get the Button element, set its focus and click it (it is only enabled/clickable vi
-
Why this kind of code below, getting the tag name's element of the ID's element: #include <IE.au3> $oIE = _IECreate("http://www.example.com/", 0, 1, 1) Sleep(5000) $element = $oIE.document.getElementById("element_id") $tags = $element.getElementsByTagName("IFRAME") For $tag In $tags $msg = $tag.contentWindow.document.body MsgBox(0, "Message", $msg.innerHTML) Next And also this code, getting the class name's element of the ID's element: #include <IE.au3> $oIE = _IECreate("http://www.example.com/", 0, 1, 1) Sleep(5000) $element = $oIE.document.getElementById("element_id
- 2 replies
-
- getElementById
- getElementsByClassName
- (and 6 more)