Method: RunLoop.default_script_for_uia_strategy

Defined in:
lib/run_loop.rb

.default_script_for_uia_strategy(uia_strategy) ⇒ Object



202
203
204
205
206
207
208
209
210
211
212
213
# File 'lib/run_loop.rb', line 202

def self.default_script_for_uia_strategy(uia_strategy)
  case uia_strategy
    when :preferences
      Core.script_for_key(:run_loop_fast_uia)
    when :host
      Core.script_for_key(:run_loop_host)
    when :shared_element
      Core.script_for_key(:run_loop_shared_element)
    else
      Core.script_for_key(:run_loop_basic)
  end
end