<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,17 +1,54 @@
                    Selenium-Client gem ChangeLog
                    =============================
 
-1.2.11
-======
+1.2.11 (2008-02-27)
+===================
+
+ - More idiomatic hash-based constructor for the client driver:
+
+    Selenium::Client::Driver.new \
+      :host =&gt; &quot;localhost&quot;,
+      :port =&gt; 4444,
+      :browser =&gt; &quot;*firefox&quot;,
+      :timeout_in_seconds =&gt; 10,
+      :url =&gt; &quot;http://localhost:3000&quot;
+    
+ - Added jQuery support for wait_for_ajax
+ 
+ - Can set default javascript framework semantics when creating the
+   client driver:
+
+   Selenium::Client::Driver.new \
+     :host =&gt; &quot;localhost&quot;,
+     :port =&gt; 4444,
+     :browser =&gt; &quot;*firefox&quot;,
+     :timeout_in_seconds =&gt; 10,
+     :url =&gt; &quot;http://localhost:3000&quot;,
+     :javascript_framework =&gt; :jquery
+
+ - Can override default javascript framework semantics on a specific
+   API call:
+
+   driver.click &quot;a-button&quot; , :wait_for =&gt; :ajax, :javascript_framework =&gt; :jquery
+
+ - Added new wait_for semantic: `:value` and `:no_value`:
+
+    click :wait_for =&gt; :value, :element =&gt; 'a_locator', :value =&gt; 'some value'    # will wait for the field value of 'a_locator' to be 'some value'
+    click :wait_for =&gt; :no_value, :element =&gt; 'a_locator', :value =&gt; 'some value' # will wait for the field value of 'a_locator' to not be 'some value'
 
  - Include examples in RubyGem
  - Added visible? method
  - Wait for complete shutdown when stopping Selenium RC with
    &quot;rake selenium:rc:stop&quot; (Thanks Aaron Tinio for the patch)
- - Fixed the integration build on Windows
-
-1.2.10 
-=======
+ - Fixed integration build on Windows
+ - Support locator including single quotes in wait_for_xyz methods
+   (Thanks Aaron Tinio for the patch)
+ - Fixed various bugs in wait_for_xyz methods
+ - API tests now rely on a demo application for integration testing of
+   wait_for_xyz methods
+
+1.2.10 (2008-02-02)
+===================
 
  - Upgraded RSpec support to 1.1.12
 </diff>
      <filename>ChangeLog</filename>
    </modified>
    <modified>
      <diff>@@ -78,11 +78,17 @@ Plain API
     # Sample Ruby script using the Selenium client API
     #
     require &quot;rubygems&quot;
-    gem &quot;selenium-client&quot;, &quot;&gt;=1.2.10&quot;
+    gem &quot;selenium-client&quot;, &quot;&gt;=1.2.11&quot;
     require &quot;selenium/client&quot;
     
     begin
-      @browser = Selenium::Client::Driver.new(&quot;localhost&quot;, 4444, &quot;*firefox&quot;, &quot;http://www.google.com&quot;, 10000);
+      @browser = Selenium::Client::Driver.new \
+          :host =&gt; &quot;localhost&quot;, 
+          :port =&gt; 4444, 
+          :browser =&gt; &quot;*firefox&quot;, 
+          :url =&gt; &quot;http://www.google.com&quot;, 
+          :timeout_in_second =&gt; 60
+    
       @browser.start_new_browser_session
     	@browser.open &quot;/&quot;
     	@browser.type &quot;q&quot;, &quot;Selenium seleniumhq.org&quot;
@@ -91,6 +97,7 @@ Plain API
     ensure
       @browser.close_current_browser_session    
     end
+
  
 Writing Tests
 =============
@@ -104,14 +111,20 @@ Writing Tests
     #
     require &quot;test/unit&quot;
     require &quot;rubygems&quot;
-    gem &quot;selenium-client&quot;, &quot;&gt;=1.2.10&quot;
+    gem &quot;selenium-client&quot;, &quot;&gt;=1.2.11&quot;
     require &quot;selenium/client&quot;
     
     class ExampleTest &lt; Test::Unit::TestCase
     	attr_reader :browser
     
       def setup
-        @browser = Selenium::Client::Driver.new &quot;localhost&quot;, 4444, &quot;*firefox&quot;, &quot;http://www.google.com&quot;, 10000
+        @browser = Selenium::Client::Driver.new \
+            :host =&gt; &quot;localhost&quot;, 
+            :port =&gt; 4444, 
+            :browser =&gt; &quot;*firefox&quot;, 
+            :url =&gt; &quot;http://www.google.com&quot;, 
+            :timeout_in_second =&gt; 60
+    
         browser.start_new_browser_session
       end
     
@@ -136,7 +149,7 @@ Writing Tests
 
     require 'rubygems'
     gem &quot;rspec&quot;, &quot;=1.1.12&quot;
-    gem &quot;selenium-client&quot;, &quot;&gt;=1.2.10&quot;
+    gem &quot;selenium-client&quot;, &quot;&gt;=1.2.11&quot;
     require &quot;selenium/client&quot;
     require &quot;selenium/rspec/spec_helper&quot;
     
@@ -145,7 +158,12 @@ Writing Tests
     	alias :page :selenium_driver
     
       before(:all) do
-          @selenium_driver = Selenium::Client::Driver.new &quot;localhost&quot;, 4444, &quot;*firefox&quot;, &quot;http://www.google.com&quot;, 10000    
+          @selenium_driver = Selenium::Client::Driver.new \
+              :host =&gt; &quot;localhost&quot;, 
+              :port =&gt; 4444, 
+              :browser =&gt; &quot;*firefox&quot;, 
+              :url =&gt; &quot;http://www.google.com&quot;, 
+              :timeout_in_second =&gt; 60
       end
     
       before(:each) do</diff>
      <filename>README.markdown</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,6 @@
 require 'rubygems'
 gem &quot;rspec&quot;, &quot;=1.1.12&quot;
-gem &quot;selenium-client&quot;, &quot;&gt;=1.2.10&quot;
+gem &quot;selenium-client&quot;, &quot;&gt;=1.2.11&quot;
 require &quot;selenium/client&quot;
 require &quot;selenium/rspec/spec_helper&quot;
 
@@ -9,7 +9,12 @@ describe &quot;Google Search&quot; do
 	alias :page :selenium_driver
 
   before(:all) do
-      @selenium_driver = Selenium::Client::Driver.new &quot;localhost&quot;, 4444, &quot;*firefox&quot;, &quot;http://www.google.com&quot;, 10000    
+      @selenium_driver = Selenium::Client::Driver.new \
+          :host =&gt; &quot;localhost&quot;, 
+          :port =&gt; 4444, 
+          :browser =&gt; &quot;*firefox&quot;, 
+          :url =&gt; &quot;http://www.google.com&quot;, 
+          :timeout_in_second =&gt; 60
   end
   
   before(:each) do</diff>
      <filename>examples/rspec/google_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,11 +3,17 @@
 # Sample Ruby script using the Selenium client API
 #
 require &quot;rubygems&quot;
-gem &quot;selenium-client&quot;, &quot;&gt;=1.2.10&quot;
+gem &quot;selenium-client&quot;, &quot;&gt;=1.2.11&quot;
 require &quot;selenium/client&quot;
 
 begin
-  @browser = Selenium::Client::Driver.new(&quot;localhost&quot;, 4444, &quot;*firefox&quot;, &quot;http://www.google.com&quot;, 10000);
+  @browser = Selenium::Client::Driver.new \
+      :host =&gt; &quot;localhost&quot;, 
+      :port =&gt; 4444, 
+      :browser =&gt; &quot;*firefox&quot;, 
+      :url =&gt; &quot;http://www.google.com&quot;, 
+      :timeout_in_second =&gt; 60
+
   @browser.start_new_browser_session
 	@browser.open &quot;/&quot;
 	@browser.type &quot;q&quot;, &quot;Selenium seleniumhq.org&quot;</diff>
      <filename>examples/script/google.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,14 +4,20 @@
 #
 require &quot;test/unit&quot;
 require &quot;rubygems&quot;
-gem &quot;selenium-client&quot;, &quot;&gt;=1.2.10&quot;
+gem &quot;selenium-client&quot;, &quot;&gt;=1.2.11&quot;
 require &quot;selenium/client&quot;
 
 class ExampleTest &lt; Test::Unit::TestCase
 	attr_reader :browser
    
   def setup
-    @browser = Selenium::Client::Driver.new &quot;localhost&quot;, 4444, &quot;*firefox&quot;, &quot;http://www.google.com&quot;, 10000
+    @browser = Selenium::Client::Driver.new \
+        :host =&gt; &quot;localhost&quot;, 
+        :port =&gt; 4444, 
+        :browser =&gt; &quot;*firefox&quot;, 
+        :url =&gt; &quot;http://www.google.com&quot;, 
+        :timeout_in_second =&gt; 60
+
     browser.start_new_browser_session
   end
     </diff>
      <filename>examples/testunit/google_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -2,8 +2,6 @@ module Selenium
   module Client
     
 		# Driver constructor and session management commands
-		#
-		# Original code by Aslak Hellesoy and Darren Hobbs
     module Base
       include Selenium::Client::Protocol
       include Selenium::Client::GeneratedDriver
@@ -13,6 +11,29 @@ module Selenium
       attr_reader :host, :port, :browser_string, :browser_url, 
                   :default_timeout_in_seconds, :default_javascript_framework
   
+      #
+      # Create a new client driver
+      #
+      # Example:
+      #
+      # Selenium::Client::Driver.new \
+      #     :host =&gt; &quot;localhost&quot;,
+      #     :port =&gt; 4444,
+      #     :browser =&gt; &quot;*firefox&quot;,
+      #     :timeout_in_seconds =&gt; 10,
+      #     :url =&gt; &quot;http://localhost:3000&quot;,
+      #
+      # You can also set the default javascript framework used for :wait_for
+      # AJAX and effects semantics (:prototype is the default value):
+      #
+      # Selenium::Client::Driver.new \
+      #     :host =&gt; &quot;localhost&quot;,
+      #     :port =&gt; 4444,
+      #     :browser =&gt; &quot;*firefox&quot;,
+      #     :timeout_in_seconds =&gt; 10,
+      #     :url =&gt; &quot;http://localhost:3000&quot;,
+      #     :javascript_framework =&gt; :jquery
+      #
       def initialize(*args)
         if args[0].kind_of?(Hash)
           options = args[0]</diff>
      <filename>lib/selenium/client/base.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,6 +4,7 @@ module Selenium
     # Client driver providing the complete API to drive a Selenium Remote Control
     class Driver
       include Selenium::Client::Base
+      
     end
   
   end</diff>
      <filename>lib/selenium/client/driver.rb</filename>
    </modified>
    <modified>
      <diff>@@ -127,9 +127,9 @@ module Selenium
       # * click :wait_for =&gt; :text, :element =&gt; 'a_locator', :text =&gt; 'some text'       # will wait for the content of 'a_locator' to be 'some text'
       # * click :wait_for =&gt; :no_text, :text =&gt; 'some text'                             # will wait for the text to be not be present/disappear
       # * click :wait_for =&gt; :no_text, :element =&gt; 'a_locator', :text =&gt; 'some text'    # will wait for the content of 'a_locator' to not be 'some text'
-      # * click :wait_for =&gt; :condition, :javascript =&gt; 'some expression'               # will wait for the javascript expression to be true
       # * click :wait_for =&gt; :value, :element =&gt; 'a_locator', :value =&gt; 'some value'    # will wait for the field value of 'a_locator' to be 'some value'
       # * click :wait_for =&gt; :no_value, :element =&gt; 'a_locator', :value =&gt; 'some value' # will wait for the field value of 'a_locator' to not be 'some value'
+      # * click :wait_for =&gt; :condition, :javascript =&gt; 'some expression'               # will wait for the javascript expression to be true
       #
       # Using options you can also define an explicit timeout (:timeout_in_seconds key). Otherwise the default driver timeout
       # is used.</diff>
      <filename>lib/selenium/client/idiomatic.rb</filename>
    </modified>
    <modified>
      <diff>@@ -29,7 +29,7 @@ Spec::Runner.configure do |config|
   def create_selenium_driver
     application_host = ENV['SELENIUM_APPLICATION_HOST'] || &quot;localhost&quot;
     application_port = ENV['SELENIUM_APPLICATION_PORT'] || &quot;4567&quot;
-    @selenium_driver = Selenium::SeleniumDriver.new \
+    @selenium_driver = Selenium::Client::Driver.new \
         :host =&gt; (ENV['SELENIUM_RC_HOST'] || &quot;localhost&quot;),
         :port =&gt; (ENV['SELENIUM_RC_PORT'] || 4444),
         :browser =&gt; (ENV['SELENIUM_BROWSER'] || &quot;*firefox&quot;),</diff>
      <filename>test/integration/spec_helper.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>85c7aaaac20699322823336d57cdbfcc5c01aff1</id>
    </parent>
  </parents>
  <author>
    <name>Philippe Hanrigou</name>
    <email>philippe.hanrigou@gmail.com</email>
  </author>
  <url>http://github.com/ph7/selenium-client/commit/8b146f32a93dbda086fed529030f26c380e0125f</url>
  <id>8b146f32a93dbda086fed529030f26c380e0125f</id>
  <committed-date>2009-02-27T21:23:08-08:00</committed-date>
  <authored-date>2009-02-27T21:23:08-08:00</authored-date>
  <message>Cleaning up the documentation before release</message>
  <tree>da4406c839c4830a3f4cdf9b490e6d9fcbf69ddb</tree>
  <committer>
    <name>Philippe Hanrigou</name>
    <email>philippe.hanrigou@gmail.com</email>
  </committer>
</commit>
