Class: GlobalContext

Inherits:
Object
  • Object
show all
Defined in:
lib/steps/global/global_context.rb

Instance Method Summary collapse

Constructor Details

#initializeGlobalContext

Resets global variables for each scenario in an execution



4
5
6
7
8
# File 'lib/steps/global/global_context.rb', line 4

def initialize
  $page_title = nil
  $current_url = nil
  $window_size =nil
end