Class: Watir::Container::SecurityWarningWindow

Inherits:
Object
  • Object
show all
Defined in:
lib/safariwatir.rb

Instance Method Summary collapse

Constructor Details

#initialize(scripter, url) ⇒ SecurityWarningWindow

Returns a new instance of SecurityWarningWindow.



62
63
64
65
# File 'lib/safariwatir.rb', line 62

def initialize(scripter, url)
  @scripter = scripter
  @url = url
end

Instance Method Details

#cancelObject



71
72
73
# File 'lib/safariwatir.rb', line 71

def cancel
  handle_click("Cancel")
end

#continueObject



67
68
69
# File 'lib/safariwatir.rb', line 67

def continue
  handle_click("Continue")
end