Sha256: e652dd3bee393f493f8c7e577f5c95ea6f09ce93b13c4e88dbfb0cd7a1d17bed

Contents?: true

Size: 288 Bytes

Versions: 14

Compression:

Stored size: 288 Bytes

Contents

# frozen_string_literal: true

Capybara.add_selector(:css, locator_type: [String, Symbol], raw_locator: true) do
  css do |css|
    warn "DEPRECATED: Passing a symbol (#{css.inspect}) as the CSS locator is deprecated - please pass a string instead." if css.is_a? Symbol
    css
  end
end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
tdiary-5.1.2 vendor/bundle/ruby/2.6.0/gems/capybara-3.29.0/lib/capybara/selector/definition/css.rb
tdiary-5.1.1 vendor/bundle/ruby/2.6.0/gems/capybara-3.29.0/lib/capybara/selector/definition/css.rb
tdiary-5.1.0 vendor/bundle/gems/capybara-3.29.0/lib/capybara/selector/definition/css.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/capybara-3.29.0/lib/capybara/selector/definition/css.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/capybara-3.29.0/lib/capybara/selector/definition/css.rb
capybara-3.29.0 lib/capybara/selector/definition/css.rb
capybara-3.28.0 lib/capybara/selector/definition/css.rb
capybara-3.27.0 lib/capybara/selector/definition/css.rb
capybara-3.26.0 lib/capybara/selector/definition/css.rb
capybara-3.25.0 lib/capybara/selector/definition/css.rb
capybara-3.24.0 lib/capybara/selector/definition/css.rb
capybara-3.23.0 lib/capybara/selector/definition/css.rb
capybara-3.22.0 lib/capybara/selector/definition/css.rb
capybara-3.21.0 lib/capybara/selector/definition/css.rb