Skip to content
Commits on Sep 10, 2011
  1. @jarmo
Commits on Aug 14, 2011
  1. @parolkar

    Fixed execute_script() to always return a value even when eval() is n…

    parolkar committed
    …ot available and executeScript() does not support returning result.
    
    Fixed gemspec deprication warning
    Added unit tests
Commits on Jul 24, 2011
  1. @jarmo

    bumped VERSION

    jarmo committed
    setting looser commonwatir dependency version for FireWatir
Commits on May 20, 2011
  1. allow override of firefox binary path

    Morgan Whitney committed
Commits on Mar 22, 2011
  1. @jarmo
Commits on Feb 28, 2011
  1. @jarmo

    fix FireWatir::Firefox#exists?

    jarmo committed
Commits on Feb 27, 2011
  1. @jarmo
Commits on Feb 20, 2011
  1. @jarmo
  2. @jarmo
Commits on Dec 14, 2010
  1. @jarmo

    Merge branch 'xhtml_bug' of git://github.com/alokmenghrajani/watir in…

    jarmo committed
    …to alokmenghrajani-xhtml_bug
  2. fixed class names, which were wrong, and would cause these tests to f…

    Alok Menghrajani committed
    …ail when run with rake test.
    
    Made sure rake test works.
Commits on Dec 8, 2010
  1. Unittests :)

    Alok Menghrajani committed
Commits on Dec 7, 2010
  1. Fix exists? which was incorrectly returning true in some cases

    Alok Menghrajani committed
    We have a bug in the way elements are located. Given the following page:
    <html>
      <body>
        <div id="foo">
          <div id="bar">
          </div>
        </div>
      </body>
    </html>
    
    And the following test cases:
    1. Browser.div(:id, 'foo').exists? => true
    2. Browser.div(:id, 'bar').exists? => true
    3. Browser.div(:id, 'foo').div(:id, 'bar').exists? => true
    4. Browser.div(:id, 'bar').div(:id, 'foo').exists? => false
    5. Browser.div(:id, 'something').div(:id, 'else').exists? => true
    6. Browser.div(:id, 'foo').div(:id, 'hello').exists? => false
    
    Case 5 incorrectly returns true. This diff fixes this bug.
    
    Note:
    there might be a more elegant way of fixing things, but I'm not super familiar with the jssh syntax. Feel
    free to suggest a better fix.
  2. Fixes issue with locate_tagged_element and xhtml documents.

    Alok Menghrajani committed
    I tested this on MacOs Firefox 10.6.5.
    
    Given the following code (served with Content-Type: application/xhtml+xml):
    
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <a href="http://www.foo.com/correct">lowercase link</a>
    <A HREF="http://www.foo.com/incorrect">uppercase link</A>
    </html>
    
    I made sure that b.link(:text, "lowercase link").exist? returns true.
    
    Note:
    in this case, b.link(:text, "uppercase link").exists? returns false. I think this is the right behavior, but this can be revised.
Commits on Oct 13, 2010
  1. @jarmo

    use ternary if statement for dealing with VERSION file detection inst…

    jarmo committed
    …ead of rescue-ing exceptions
Commits on Oct 8, 2010
  1. @jarmo

    added WaitHelper module for possible inclusion with methods like #wai…

    jarmo committed
    …t_until and #wait_while
    
    renamed Wait methods to .until and .while
Commits on Oct 7, 2010
  1. @jarmo

    introduce new waiting methods (mostly by Jari Bakken)

    jarmo committed
    - add Watir::Wait module with methods like #wait_until, #wait_until?, #wait_while and wait_while?
    - make these methods available to Watir::IE and Watir::Firefox classes
    - add Watir::Element #present?, #when_present, #wait_until_present and #wait_while_present
  2. @jarmo

    Merge branch 'attribute_js_fix' of http://github.com/alanshields/watir

    jarmo committed
    …into alanshields-attribute_js_fix
  3. @jarmo

    fixed "rake gems" task

    jarmo committed
  4. @zeljkofilipin

    deleted old licenses

    zeljkofilipin committed
Commits on Oct 5, 2010
  1. @zeljkofilipin @charley

    deleted unused files

    zeljkofilipin committed with charley
Commits on Oct 1, 2010
  1. @bret

    Update the 3 gem projects to each use the common readme file. The top…

    bret committed
    …level rakefile and each gem's gemspec have been updated.
  2. @zeljkofilipin
Commits on Sep 30, 2010
  1. @charley

    Removed README.rdoc from gemspec

    charley committed
  2. @zeljkofilipin
  3. @zeljkofilipin
  4. get_attribute_value now works with attributes named something like "f…

    Alan Shields committed
    …oo-bar"
    
    Old code would check to see if there was a value "obj.foo - bar". This is
    good behavior for legal javascript identifier, so now we check to see if the
    attribute is also a legal javascript identifier.
Commits on Sep 29, 2010
  1. @jarmo
  2. @zeljkofilipin

    replaced just outputting contents of all select lists on a page with …

    zeljkofilipin committed
    …assertions that check contents of all select lists
  3. @zeljkofilipin

    deleted the line that was not doing anything except outputting some text

    zeljkofilipin committed
    the same code is tested in the next line
  4. @zeljkofilipin
  5. @zeljkofilipin
  6. @zeljkofilipin

    added tests for Image#to_s

    zeljkofilipin committed
  7. @zeljkofilipin

    show_all_objects accepts optional parameter output

    zeljkofilipin committed
    (should it output anything or not, defaults to true)
    used not to output anything in unit tests
Something went wrong with that request. Please try again.