Class: Capybara::Poltergeist::Driver

Inherits:
Driver::Base
  • Object
show all
Includes:
DmcKanye::DriverHelpers
Defined in:
lib/dmc_kanye/imma_let_you_finish.rb,
lib/dmc_kanye/driver_helpers.rb

Instance Method Summary collapse

Methods included from DmcKanye::DriverHelpers

#open_ajax_requests?, #page_loaded?, #wait_for_in_progress_ajax_to_finish, #wait_for_page_to_finish_loading, #wait_for_page_to_settle, #wait_to_appear

Instance Method Details

#kanye_invited?Boolean

allows Capybara to have different behaviors depending on whether the current driver includes Kanye’s algorithm

Returns:

  • (Boolean)


6
7
8
# File 'lib/dmc_kanye/imma_let_you_finish.rb', line 6

def kanye_invited?
  true
end