Sha256: eab40f739a02d54387e790625171e688dd7e0abdd9ad1968ca139f63272f6bd9
Contents?: true
Size: 677 Bytes
Versions: 1
Compression:
Stored size: 677 Bytes
Contents
module Watir # POPUP object class PopUp def initialize(container) @container = container @page_container = container.page_container end def button(caption) return JSButton.new(@container.getIE.hwnd, caption) end end class JSButton def initialize(hWnd, caption) @hWnd = hWnd @caption = caption end def startClicker(waitTime=3) clicker = WinClicker.new clicker.clickJSDialog_Thread # clickerThread = Thread.new(@caption) { # sleep waitTime # puts "After the wait time in startClicker" # clickWindowsButton_hwnd(hwnd, buttonCaption) #} end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
watir-1.6.5 | lib/watir/popup.rb |