<?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>just_add_watir &#124; Advanced recipes for Watir &#187; .attach</title>
	<atom:link href="http://justaddwatir.com/tag/attach/feed/" rel="self" type="application/rss+xml" />
	<link>http://justaddwatir.com</link>
	<description>Advanced recipes for Watir</description>
	<lastBuildDate>Wed, 21 Oct 2009 02:44:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Q. How do I attach to a current IE session?</title>
		<link>http://justaddwatir.com/2008/q-how-do-i-attach-to-a-current-ie-session/</link>
		<comments>http://justaddwatir.com/2008/q-how-do-i-attach-to-a-current-ie-session/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 12:53:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[watir]]></category>
		<category><![CDATA[.attach]]></category>
		<category><![CDATA[regex]]></category>

		<guid isPermaLink="false">http://justaddwatir.com/watir/?p=43</guid>
		<description><![CDATA[A. Use the .attach method...
Example watir:

@b=Watir::IE.attach&#40;:title,//&#41;

I have used regex here for the window title, you can be more specific if you like.
]]></description>
			<content:encoded><![CDATA[<p><strong>A. Use the .attach method...</strong><br />
Example watir:</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#0066ff; font-weight:bold;">@b</span>=<span style="color:#6666ff; font-weight:bold;">Watir::IE</span>.<span style="color:#9900CC;">attach</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:title</span>,<span style="color:#006600; font-weight:bold;">//</span><span style="color:#006600; font-weight:bold;">&#41;</span></pre></div></div>

<p>I have used regex here for the window title, you can be more specific if you like.</p>
]]></content:encoded>
			<wfw:commentRss>http://justaddwatir.com/2008/q-how-do-i-attach-to-a-current-ie-session/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
