Class: Sapphire::DSL::Browser::Popup

Inherits:
Object
  • Object
show all
Defined in:
lib/sapphire/DSL/Browser/Nouns/Popup.rb

Instance Method Summary collapse

Instance Method Details

#CloseObject



5
6
7
# File 'lib/sapphire/DSL/Browser/Nouns/Popup.rb', line 5

def Close
  $driver.ClosePopup
end

#SwitchObject



9
10
11
# File 'lib/sapphire/DSL/Browser/Nouns/Popup.rb', line 9

def Switch
  $driver.SwitchToPopup
end