How to get WIN32OLE handle for IE via watir-webdriver?
问题 In Watir you can get WIN32OLE handle of IE window using next method. irb(main):059:0> browser.ie => #<WIN32OLE:0x28d12b8> I need somehow to get same return for IE that was created by watir-webdriver. Is there some way? Or at least someone can point me the direction to dig. I need this stuff to attach HTTPwatch plugin to my browser instance. Here is example of HTTPWatch code. require 'watir' require 'win32ole' browser = Watir::Browser.new controller = WIN32OLE.new('HttpWatch.Controller')