Jo Liss
b2767a8413
Make whitespace normalization Unicode-aware. Fixes #767
...
Also move normalize_whitespace and to_regexp into Capybara::Helpers, and
improve method documentation.
I'm not adding tests for the helpers. I think they're so simple that we
really only care whether they work in conjunction with other methods,
like Node#text.
2012-08-01 13:29:50 +02:00
Jonas Nicklas
0b277433c7
Session is responsible for starting server
2012-07-13 13:29:02 +02:00
Andrew Kasper
6dc095b3fa
Emulate user input to prevent onchange from being triggered twice in Selenium driver
2012-07-12 08:25:31 -04:00
Ryunosuke SATO
1c161c6092
Support Capybara::Session#save_screenshot
2012-07-10 13:52:13 +09:00
Alistair Hutchison
e6e885c089
Make within_frame return the value of calling the given block
2012-05-21 15:30:18 +01:00
Jonas Nicklas
a1b1cc7132
Remove resynchronization for Selenium
2012-02-01 14:23:17 +01:00
Kouhei Sutou
ab36126ad2
suppress a warning:
...
lib/capybara/selenium/driver.rb:22: warning: instance variable @exit_status not initialized
2012-01-08 23:02:24 +09:00
Kouhei Sutou
16145ad11d
suppress warnings:
...
lib/capybara/selenium/driver.rb:14: warning: instance variable @browser not initialized
lib/capybara/selenium/driver.rb:79: warning: instance variable @browser not initialized
2012-01-08 23:01:46 +09:00
Kouhei Sutou
be7c258446
suppress a warning:
...
lib/capybara/selenium/driver.rb:82: warning: assigned but unused variable - e
2012-01-08 22:53:45 +09:00
Jonas Nicklas
c32f9a95f5
Don't call #clear on file fields in Selenium, closes #541
2011-11-15 17:07:55 +01:00
Jared Grippe
f5e5f3200c
is this a terrible idea?
2011-11-09 14:02:53 -08:00
Edgars Beigarts
5f4c537ed9
Make sure that exit codes of tests are propagated properly when using selenium webdriver.
2011-08-22 11:15:03 +03:00
Jonas Nicklas and Nicklas Ramhöj
ec2ff46220
Switch off resynchronization by default
...
Didn't we already do this?
2011-08-15 15:34:30 +02:00
Jonas Nicklas
941e50132a
Elements are automatically reloaded
2011-07-13 17:52:42 +02:00
Jonas Nicklas
91de98bb03
Switch off resynchronization by default
2011-07-13 15:40:17 +02:00
Thomas Walpole
f7590ab339
Selenium::Webdrive#drag_and_drop_on is deprecated
2011-07-08 10:06:40 -07:00
Thomas Walpole
3f53e82ed9
Selenium::WebDriver::Element#select and #toggle are deprecated - replace with click
2011-06-23 11:42:00 -07:00
Jon Leighton
97da26eef4
The at_exit hook to quit the selenium browser should not execute for unrelated child processes
2011-05-23 23:47:48 +01:00
Kevin Fitzpatrick & Matthew DuVall
2d2f877451
Fixed again, previous checkin was to the wrong node.rb class. chromedriver + Chrome 12 YELLS tag names in UPPERCASE
2011-05-17 12:21:51 -07:00
Aaron Gibralter
eef139ff48
Refactor Capybara::Selenium::Node#[] and Capybara::Selenium::Node#value
2011-04-28 12:30:01 -07:00
Aaron Gibralter
f02754183b
Fix deprecation warning in selenium driver.
...
As of selenium-webdriver 0.2.0:
"Selenium::WebDriver::Element#value is deprecated, please use Selenium::WebDriver::Element#attribute('value')"
2011-04-27 15:17:56 -07:00
Jonas Nicklas
79ff093727
Move and rename Selenium driver class
2011-04-11 06:24:00 +01:00