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

28 commits

Author SHA1 Message Date
Jonas Nicklas
cbe2f07331 Merging Andrea's hidden elements branch with some changes
Interacting with hidden elements shouldn't raise errors
when ignore_hidden_elements is false

ignore_hidden_elements is false by default

Merge remote branch 'remogatto/interact_with_visible_only'

Conflicts:
	lib/capybara.rb
	lib/capybara/session.rb
	spec/drivers_spec.rb
	spec/dsl/choose_spec.rb
	spec/dsl/click_button_spec.rb
	spec/dsl/click_link_spec.rb
	spec/dsl/click_spec.rb
	spec/dsl/fill_in_spec.rb
	spec/dsl/locate_spec.rb
	spec/dsl/select_spec.rb
	spec/dsl/uncheck_spec.rb
	spec/views/with_html.erb
2010-01-30 19:07:54 +01:00
Jonas Nicklas
297dd7349b Nicer warnings when option not found for select 2010-01-30 01:02:26 +01:00
Jonas Nicklas
ecdc2bd8c5 visit now allow fully qualified URLs.
This also introduces Capybara.run_server, which
controls whether Capybara will spool up a server
or not.
2010-01-17 17:40:26 +01:00
Jonas Nicklas
0a2a183e1b Tagged 0.3.0 2010-01-11 22:16:59 +01:00
Andrea Fazzi
0af58c61d3 Merge branch 'master' of git://github.com/jnicklas/capybara into interact_with_visible_only
Conflicts:
	lib/capybara.rb
2010-01-11 21:56:56 +01:00
Jonas Nicklas
a34178859b Gracefully handle infinite redirects
Under rack-test at least. Generalizing this to
all drivers failed miserably.
2010-01-11 21:30:58 +01:00
Andrea Fazzi
07f9ae6b09 Add the new global setting ignore_hidden_elements that is true by default.
This setting adds a new behaviour in the interaction with hidden
elements. By default #locate, #click*, #choose, #select, etc. will
ignore hidden elements. You can override this behaviour setting
ignore_hidden_elements = false
2010-01-11 14:45:36 +01:00
Lenny Marks
eb82466fe6 Capybara#default_wait_time
Capybara default_wait_time
- should default to 2 seconds
- should be changeable
2009-12-31 13:51:22 -05:00
Jonas Nicklas
27d7057730 Replace timeout with retries based approach
Somehow, using Timeout was causing the Broken Pipe
errors in Culerity. Until someone can explain
how and why, this approach seems to work without
any significant drawbacks.
2009-12-25 19:04:45 +01:00
Jonas Nicklas
3eed17dfeb Fix problem with broken pipes in Culerity?
WTF was causing this? I have no idea...
Anyway this seems to fix it.
2009-12-25 18:40:21 +01:00
Lenny Marks
ee49df6561 Pulled out find/have methods into Searchable module to be shared by Session and Node(for relative searching) 2009-12-24 00:41:34 -05:00
Lenny Marks
03e676b492 Session#wait_until 2009-12-22 18:14:04 -05:00
Jonas Nicklas
4c29fd9581 Merge remote branch 'initforthe/master'
Conflicts:
	lib/capybara.rb
2009-12-20 16:23:13 +01:00
Lenny Marks
481e912c5b Brought back Culerity driver now as subclass of Celerity. Hash style driver options replaced. Capybara.app_host for connecting to running app. 2009-12-18 11:40:51 -05:00
Lenny Marks
4e7ce11372 Ranamed culerity_driver to celerity_driver(Celerity via Culerity or just Celerity) 2009-12-16 15:42:37 -05:00
Jonas Nicklas
7358deb5d6 tagged 0.2.0 2009-12-13 15:08:12 +01:00
Jonas Nicklas
0ece1e3a4d tagged 0.1.4 2009-12-12 22:38:41 +01:00
Jonas Nicklas
d183409d19 Merge remote branch 'denro/evaluate_script'
Conflicts:
	lib/capybara.rb
	lib/capybara/driver/selenium_driver.rb
	lib/capybara/dsl.rb
	spec/session/culerity_session_spec.rb
	spec/session/selenium_session_spec.rb
	spec/session_spec.rb
2009-12-12 21:56:32 +01:00
Dennis Rogenius
525ba2d654 removed whitespace and added dsl shortcut to evaluate_script method 2009-12-12 13:33:00 +01:00
Jonas Nicklas
364affa757 Automatically wait for asynchonous loading 2009-12-09 21:43:40 +01:00
Jonas Nicklas
cd2b411ea2 Removed Safariwatir and Firewatir drivers 2009-12-09 21:29:51 +01:00
Jonas Nicklas
f22092a214 Do label searches in a single XPath 2009-12-09 18:19:44 +01:00
Jonas Nicklas
3f9950e09d Move default_selector out of session. Closes #11 2009-12-03 18:50:03 +01:00
Jonas Nicklas and Peter Gromark
4cbab684a5 tagged 0.1.3 2009-11-30 21:38:09 +01:00
Jonas Nicklas
792457376f Tagged 0.1.2 2009-11-24 23:58:26 +01:00
Jonas Nicklas
8720e4b590 tagged 0.1.1 2009-11-20 19:16:30 +01:00
Jonas Nicklas
c389a0c0d3 Added node class and made driver's nodes inherit 2009-11-17 23:52:22 +01:00
Theo Hultberg and Jonas Nicklas
6b099a4a33 renamed to capybara 2009-11-16 22:02:16 +01:00