1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00
teampoltergeist--poltergeist/spec/integration
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
..
driver_spec.rb Don't alter focus with send_keys if we're already in the target element. 2014-05-16 20:01:22 -04:00
session_spec.rb Update links to new repo URL 2014-05-01 12:02:42 -04:00