Hi,

Can anyone help me with this? How can I get the window handle of an
element from its JS DOM node?

Perhaps a little background might help! I'm currently working on
WebDriver, a browser testing automation tool[1], to add Chrome
support.  As suggested by the chrome team, this is being written as an
extension with an embedded NPAPI plugin.  The original driver worked
with the AutomationProxy, but this is not available in release
binaries, which means that a user would need to compile a custom
version of Chrome; obviously a less than ideal user experience :)

We use a native interactions library for sending keys/clicks/etc at
the OS level, which requires a window handle to the window containing
the element to do its thing. This library is shared between all the
drivers for a particular platform (at the moment, only Windows, but X
support is coming soon).

Thanks,

Daniel Wagner-Hall

1: http://code.google.com/p/webdriver/

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: [email protected] 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to