README.markdown in selenium-client-1.2.12 vs README.markdown in selenium-client-1.2.13

- old
+ new

@@ -36,12 +36,14 @@ * `click 'the_button_id', :wait_for => :page` * `click 'the_button_id', :wait_for => :ajax` * `click 'the_button_id', :wait_for => :element, :element => 'new_element_id'` * `click 'the_button_id', :wait_for => :no_element, :element => 'disappearing_element_id'` * `click 'the_button_id', :wait_for => :text, :text => 'New Text'` + * `click 'the_button_id', :wait_for => :text, :text => /A Regexp/` * `click 'the_button_id', :wait_for => :text, :element => 'notification_box', :text => 'New Text'` * `click 'the_button_id', :wait_for => :no_text, :text => 'Disappearing Text'` + * `click 'the_button_id', :wait_for => :no_text, :text => /A Regexp/` * `click 'the_button_id', :wait_for => :no_text, :element => 'notification_box', :text => 'Disappearing Text'` * `click 'the_button_id', :wait_for => :effects` * `click 'the_button_id', :wait_for => :value, :element => 'a_locator', :value => 'some value'` * `click 'the_button_id', :wait_for => :no_value, :element => 'a_locator', :value => 'some value' # will wait for the field value of 'a_locator' to not be 'some value'` * `click 'the_button_id', :wait_for => :condition, :javascript => "some arbitrary javascript expression"` @@ -76,11 +78,11 @@ #!/usr/bin/env ruby # # Sample Ruby script using the Selenium client API # require "rubygems" - gem "selenium-client", ">=1.2.11" + gem "selenium-client", ">=1.2.13" require "selenium/client" begin @browser = Selenium::Client::Driver.new \ :host => "localhost", @@ -109,11 +111,11 @@ # # Sample Test:Unit based test case using the selenium-client API # require "test/unit" require "rubygems" - gem "selenium-client", ">=1.2.11" + gem "selenium-client", ">=1.2.13" require "selenium/client" class ExampleTest < Test::Unit::TestCase attr_reader :browser @@ -147,11 +149,11 @@ If BDD is more your style, here is how you can achieve the same thing using RSpec: require 'rubygems' gem "rspec", "=1.1.12" - gem "selenium-client", ">=1.2.11" + gem "selenium-client", ">=1.2.13" require "selenium/client" require "selenium/rspec/spec_helper" describe "Google Search" do attr_reader :selenium_driver @@ -258,16 +260,31 @@ We welcome new features, add-ons, bug fixes, example, documentation, etc. Make the gem work the way you envision! * I recommend cloning the selenium-client [reference repository](http://github.com/ph7/selenium-client/tree/master) - I you are more of a SVN guy, the same code also lives at [OpenQA](http://svn.openqa.org/svn/selenium-rc/trunk/clients/ruby) * You can also check out the [RubyForge page](http://rubyforge.org/projects/selenium-client) and the [RDoc](http://selenium-client.rubyforge.org) * We also have a [continuous integration server](http://xserve.openqa.org:8080/view/Ruby%20Client) +* Stories live in [Pivotal Tracker](https://www.pivotaltracker.com/projects/6280) +Core Team +========= + +* Philippe Hanrigou (`ph7`): Current Maintainer and main contributor +* Aslak Hellesoy and Darren Hobbs : Original version of the Selenium Ruby driver + +Contributors +============ +* Aaron Tinio (`aptinio`): + - Patch for more robust Selenium RC shutdown + - Patch to support locator including single quotes in `wait_for_...` methods + +* Rick Lee-Morlang (`rleemorlang`): + - Patch for incremental calls to `wait_for_text` + - Regex support in `wait_for_text` + -