Jim,
Thanks for your answer for the alert window detection.
From the document in the google website of selenium, I know that the
architecture of InternetExplorerDriver is the following:
InternetExplorerDriver(Java) -> webdriver.h-> InternetExplorerDriver(C+
+)------PostMessage--->IEThreadExplorer(C++)-----COM-->IE
My question is related to the COM part. I wonder if the below
statement explains the COM correctly?
“The IE driver integrates tightly with IE by making use of the IE COM
Automation interfaces that ship with every version of Windows. In
particular, we use COM interfaces from the native MSHTML and ShDocVw
DLLs, which form part of IE.”
The statement appears in the link (
http://www.aosabook.org/en/
selenium.html).
I tried to look for source code of InternetExplorerDriver, but there
are lots of layers as shown in the above arrow chain. If possible,
could you please point me to the final layer files which calls COM
directly?
Thanks a lot.
Jiangfan