1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Capybara default selector is CSS instead of XPath

This commit is contained in:
Jonas Nicklas 2010-07-09 20:38:59 +02:00
parent bbc8964439
commit 3b0d1d7e36
2 changed files with 2 additions and 2 deletions

View file

@ -48,6 +48,6 @@ module Capybara
end
Capybara.run_server = true
Capybara.default_selector = :xpath
Capybara.default_selector = :css
Capybara.default_wait_time = 2
Capybara.ignore_hidden_elements = false

View file

@ -13,7 +13,7 @@ alias :running :lambda
Capybara.default_wait_time = 0 # less timeout so tests run faster
Spec::Runner.configure do |config|
config.after do
config.before do
Capybara.default_selector = :xpath
end
end