Class: Watobo::Gui::BrowserControl

Inherits:
Object
  • Object
show all
Defined in:
lib/watobo/gui/browser_preview.rb

Direct Known Subclasses

IEControl, SeleniumRC

Instance Method Summary collapse

Constructor Details

#initializeBrowserControl

Returns a new instance of BrowserControl.



31
32
33
# File 'lib/watobo/gui/browser_preview.rb', line 31

def initialize()

end

Instance Method Details

#busy?Boolean

Returns:

  • (Boolean)


48
49
50
# File 'lib/watobo/gui/browser_preview.rb', line 48

def busy?()
  # wait until loading url has finished
end

#closeObject



56
57
58
# File 'lib/watobo/gui/browser_preview.rb', line 56

def close()

end

#connectObject



39
40
41
42
# File 'lib/watobo/gui/browser_preview.rb', line 39

def connect()
  # check if browser is controlable. If not, create new instance.
  raise "Connect-Method not defined"
end

#getDocObject



52
53
54
# File 'lib/watobo/gui/browser_preview.rb', line 52

def getDoc()
  raise "GetDocument-Method not defined"
end


35
36
37
# File 'lib/watobo/gui/browser_preview.rb', line 35

def navigate(url)
  raise "Navigate-Method not defined"
end

#ready?Boolean

Returns:

  • (Boolean)


44
45
46
# File 'lib/watobo/gui/browser_preview.rb', line 44

def ready?()
  # running? can be controlled?
end

#visible=(status) ⇒ Object



60
61
62
# File 'lib/watobo/gui/browser_preview.rb', line 60

def visible=(status)

end

#watobo_enabled?Boolean

Returns:

  • (Boolean)


64
65
66
67
# File 'lib/watobo/gui/browser_preview.rb', line 64

def watobo_enabled?()
  # check if necessary plugins, etc. are installed
  # e.g. jssh for Firefox
end