1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00
teampoltergeist--poltergeist/lib/capybara/poltergeist
Adam Prescott b67c643b74 Don't alter focus with send_keys if we're already in the target element.
If the click event is fired on the target element, then the caret
position that was previously set by, e.g.,

  send_keys(:Left)

is lost. This addresses that by first checking if the target element
already contains the current selection, meaning we have focus within the
target element and don't need to first give it focus.

Fixes #493.
2014-05-16 20:01:22 -04:00
..
client Don't alter focus with send_keys if we're already in the target element. 2014-05-16 20:01:22 -04:00
network_traffic Fix typo redirectUrl -> redirectURL 2014-02-16 13:56:10 +01:00
browser.rb accessing a nodes parents via ids 2014-04-14 08:56:44 -04:00
client.rb Catch the IO error for JRuby platform 2013-12-09 15:22:09 +04:00
cookie.rb
driver.rb prepare PR 2013-12-15 09:34:27 +02:00
errors.rb Handle 'status:fail' responses from PhantomJS land 2014-04-12 19:11:34 -04:00
inspector.rb use protocol-relative URL 2014-05-10 07:21:58 +09:00
json.rb Revert “Remove multi_json dependency” 2013-06-09 17:12:06 +03:00
network_traffic.rb
node.rb accessing a nodes parents via ids 2014-04-14 08:56:44 -04:00
server.rb Fix setting of fixed port 2013-02-04 20:25:13 +00:00
utility.rb Windows support 2013-02-28 11:59:28 -06:00
version.rb Bump up version [ci skip] 2013-12-09 15:36:26 +04:00
web_socket_server.rb Fix #382, #404 JRuby pending test 2013-10-27 20:16:25 +04:00