<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Erik A. Hanson &#187; jQuery</title>
	<atom:link href="http://www.eahanson.com/category/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eahanson.com</link>
	<description>My weblog</description>
	<lastBuildDate>Thu, 06 Jan 2011 02:27:45 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>SeleniumQuery</title>
		<link>http://www.eahanson.com/2010/05/23/seleniumquery/</link>
		<comments>http://www.eahanson.com/2010/05/23/seleniumquery/#comments</comments>
		<pubDate>Mon, 24 May 2010 04:49:46 +0000</pubDate>
		<dc:creator>Erik</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Selenium]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.eahanson.com/?p=125</guid>
		<description><![CDATA[I wrote a tiny library to make Selenium testing in Ruby a little easier by helping you easily build a jQuery string that can be executed in the browser during a test. This: # this is ruby jquery = SeleniumQuery.new(selenium) id = jquery.find("td:nth(5).user:visible").closest("tr").attr!("id") executes this in the browser: // this is Javascript selenium .browserbot .getCurrentWindow() [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote a tiny library to make Selenium testing in Ruby a little easier by helping you easily build a jQuery string that can be executed in the browser during a test. </p>
<p>This:</p>
<pre>
# this is ruby
jquery = SeleniumQuery.new(selenium)
id = jquery.find("td:nth(5).user:visible").closest("tr").attr!("id")
</pre>
<p>executes this in the browser:</p>
<pre>
// this is Javascript
selenium
  .browserbot
  .getCurrentWindow()
  .jQuery(selenium.browserbot.getCurrentWindow().document)
  .find("td:nth(5).user:visible")
  .closest("tr")
  .attr("id");
</pre>
<p>Check it out here: <a href="http://github.com/eahanson/seleniumquery">http://github.com/eahanson/seleniumquery</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.eahanson.com/2010/05/23/seleniumquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

