class Selenium::WebDriver::Support::Guards::Guard

def initialize(guarded, type, guards = nil)

def initialize(guarded, type, guards = nil)
  @guarded = guarded
  @tracker = guards&.bug_tracker || ''
  @messages = guards&.messages || {}
  @messages[:unknown] = 'TODO: Investigate why this is failing and file a bug report'
  @type = type
  @reason = @guarded[:reason] || 'No reason given'
  @guarded[:reason] = @reason
end