1
0
Fork 0
mirror of https://github.com/teampoltergeist/poltergeist.git synced 2022-11-09 12:05:00 -05:00
teampoltergeist--poltergeist/spec
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
..
integration Don't alter focus with send_keys if we're already in the target element. 2014-05-16 20:01:22 -04:00
support Render full window size if document has no height 2014-04-23 11:07:45 -07:00
tmp Add support for choosing between rendering the whole page or just part of it. 2011-10-31 23:04:02 +00:00
unit use protocol-relative URL 2014-05-10 07:21:58 +09:00
spec_helper.rb spec helper tidying 2013-01-26 14:02:16 +00:00