class Capybara::Queries::StyleQuery
def initialize(expected_styles, session_options:, **options)
def initialize(expected_styles, session_options:, **options) @expected_styles = expected_styles.each_with_object({}) { |(style, value), str_keys| str_keys[style.to_s] = value } @options = options @actual_styles = {} super(@options) self.session_options = session_options assert_valid_keys end