dczarnik Posted November 3, 2016 Posted November 3, 2016 Very basic question that I have been looking all over for and haven't been able to find an answer to... How in the hell do I use the IE API with an EXISTING Internet Explorer window? It's not making sense to me. I tried using IE attach but that does not seem to be working.
Danp2 Posted November 3, 2016 Posted November 3, 2016 A. Was there an error message shown in the Scite output window? B. Did you try running the examples from the help file? Latest Webdriver UDF Release Webdriver Wiki FAQs
dczarnik Posted November 3, 2016 Author Posted November 3, 2016 #include <IE.au3> #include <MsgBoxConstants.au3> ; Attach to a browser control embedded in another window Local $oIE = _IEAttach("http://google.com", "") Local $sHTML = _IEDocReadHTML($oIE) MsgBox($MB_SYSTEMMODAL, "Document Source", $sHTML) I run this and message box returns 0.
dczarnik Posted November 3, 2016 Author Posted November 3, 2016 1 hour ago, Danp2 said: A. Was there an error message shown in the Scite output window? B. Did you try running the examples from the help file? #include <IE.au3> #include <MsgBoxConstants.au3> ; Attach to a browser control embedded in another window Local $oIE = _IEAttach("http://google.com", "") Local $sHTML = _IEDocReadHTML($oIE) MsgBox($MB_SYSTEMMODAL, "Document Source", $sHTML) I run this and message box returns 0.
Danp2 Posted November 3, 2016 Posted November 3, 2016 You didn't answer either of my questions. Quote ; Attach to a browser control embedded in another window Again the details are important. Read the help file entry for _IEAttach, particularly to portions dealing with embedded IE instances. Latest Webdriver UDF Release Webdriver Wiki FAQs
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now