Sha256: cadcc1e040e67f6d3d4c11e992599f109ae4c4e5534b55f0dc12d393ddc00042
Contents?: true
Size: 706 Bytes
Versions: 17
Compression:
Stored size: 706 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
17 entries across 17 versions & 1 rubygems