Permalink
Commits on Dec 15, 2013
  1. Merge pull request #428 from budnik/zoom-factor

    route committed Dec 15, 2013
    add page.zoomFactor=
  2. prepare PR

    budnik committed Dec 15, 2013
    * require setter attribute
    * add CHANGELOG record
Commits on Dec 9, 2013
  1. Add #zoomFactor= method

    budnik committed Dec 9, 2013
  2. Bump up version [ci skip]

    route committed Dec 9, 2013
  3. Fix build on Travis for Rubinius

    route committed Dec 9, 2013
Commits on Dec 4, 2013
  1. Merge pull request #421 from jhawthorn/input_type_number

    route committed Dec 4, 2013
    Entering negatives into an <input type="number">
  2. Add CHANGELOG entry

    jhawthorn committed Dec 4, 2013
  3. Entering negatives into an <input type="number">

    jhawthorn committed Dec 2, 2013
    When entering a negative number into a value field. The absolute value
    would instead be set. This is because values are entered char-by-char
    and '-' by itself wasn't considered a valid value.
    
    This modifies PoltergeistAgent.Node.set to set the entire value at once
    for an input type=number. Number fields aren't necessarily set via
    keypresses anyways (they have those little buttons).
    
    Includes a failing test case.
    
    This change may be unnecessary if native keyboard events are used
    again (landed in c7ba561, reverted in 70304cc).
Commits on Dec 3, 2013
  1. Merge pull request #416 from pedrocarrico/master

    route committed Dec 3, 2013
    Update capybara dependency
  2. Add CHANGELOG entry

    Pedro Carriço committed Dec 3, 2013
  3. Allow change the contents of a contenteditable element

    Pedro Carriço committed Dec 3, 2013
Commits on Dec 2, 2013
  1. Add go_back and go_forward implementation in poltergeist capybara driver

    pedrocarrico committed with Pedro Carriço Nov 27, 2013
    Added in capybara 2.2.0
  2. Update capybara dependency

    pedrocarrico committed with Pedro Carriço Nov 27, 2013
Commits on Dec 1, 2013
  1. Clean up client spec

    route committed Dec 1, 2013
Commits on Nov 25, 2013
Commits on Nov 22, 2013
  1. Specs are green

    route committed Nov 22, 2013
Commits on Nov 21, 2013
Commits on Nov 11, 2013
  1. Merge pull request #411 from jimjh/master

    route committed Nov 11, 2013
    Add test for within_frame with frame index.
  2. Add test for within_frame with frame index.

    Jim Lim committed Nov 11, 2013
    See #185.
Commits on Oct 27, 2013
  1. Fix #382, #404 JRuby pending test

    route committed Oct 22, 2013
    We grab all the output from PhantomJS (like console.log) in another thread and
    when PhantomJS exits first as in related test when we send
    `driver.browser.command('exit')` we will try to restart it. In order to do it we
    stop server and client. We see this error `IOError: Stream closed` for the
    client. It happens because JRuby tries to close pipe with
    https://github.com/jruby/jruby/blob/jruby-1_7/core/src/main/java/org/jruby/RubyIO.java#L2067
    which raises an error here
    https://github.com/jruby/jruby/blob/jruby-1_7/core/src/main/java/org/jruby/RubyIO.java#L4753
    It happens not just because IO was closed but because it was blocked on `eof?`
    or `readpartial` call. As you can see the error will be raised in related thread
    (it's not actually main thread but the thread that listens to the output) that's
    why if you put some debug code after `rescue IOError` it won't be shown and in
    fact the main thread will continue working after the raise. For instance:
    
        def restart
          stop
          start
        end
    
    it will invoke `start` even if we have seen `IOError` in `stop` method because
    the error has been raised in another thread. In order to fix it we don't have to
    give a chance to block IO. `IO.select` shows that there's something to be read
    in pipe.
Commits on Oct 22, 2013
Commits on Oct 21, 2013
  1. Merge pull request #401 from vickvu/master

    route committed Oct 21, 2013
    Add clear_network_traffic function
  2. Add clear_network_traffic command

    vickvu committed Oct 10, 2013
Commits on Oct 11, 2013
Commits on Oct 10, 2013
  1. Add CHANGELOG entry

    route committed Oct 10, 2013
  2. Fix #263 HTTP Basic Authentication

    route committed Oct 10, 2013
    * Use strip on Authorize header otherwise it forms bad request
    * Combine both methods settings and manually set header
Commits on Oct 9, 2013
  1. Fix #263 add `basic_authorize` method

    route committed Oct 9, 2013
Commits on Oct 8, 2013
Commits on Oct 5, 2013
Commits on Oct 3, 2013
  1. #395 Add better error message for wrong xpath

    route committed Oct 3, 2013
    If someone fill wrong selector in `find` method this poor description will be shown:
    "There was an error inside the PhantomJS portion of Poltergeist.
    This is probably a bug, so please report it.
    Error: INVALID_EXPRESSION_ERR: DOM XPath Exception 51"
    Now we raise `InvalidSelector` in consistency with selenium.