<?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; .frame</title>
	<atom:link href="http://justaddwatir.com/tag/frame/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 get to element X in frame Y?</title>
		<link>http://justaddwatir.com/2008/q-how-do-i-get-to-element-x-in-frame-y/</link>
		<comments>http://justaddwatir.com/2008/q-how-do-i-get-to-element-x-in-frame-y/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 10:26:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[watir]]></category>
		<category><![CDATA[.frame]]></category>

		<guid isPermaLink="false">http://justaddwatir.com/watir/?p=39</guid>
		<description><![CDATA[A. Make sure you prefix your element with the correct frame reference ...
Example watir:

@b.goto&#40;'http://justaddwatir.com/watir/test_html/tc_0001_0100/test_0017.html'&#41;
@b.frame&#40;:index, 2&#41;.button&#40;:name, &#34;submit&#34;&#41;.click

Note: sometimes frames aren't easily identified with id or name attributes, the example above uses the index attribute to get to the second frame in the frameset.
]]></description>
			<content:encoded><![CDATA[<p><strong>A. Make sure you prefix your element with the correct frame reference ...</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:#9900CC;">goto</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">'http://justaddwatir.com/watir/test_html/tc_0001_0100/test_0017.html'</span><span style="color:#006600; font-weight:bold;">&#41;</span>
<span style="color:#0066ff; font-weight:bold;">@b</span>.<span style="color:#9900CC;">frame</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:index</span>, <span style="color:#006666;">2</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">button</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#ff3333; font-weight:bold;">:name</span>, <span style="color:#996600;">&quot;submit&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">click</span></pre></div></div>

<p>Note: sometimes frames aren't easily identified with id or name attributes, the example above uses the index attribute to get to the second frame in the frameset.</p>
]]></content:encoded>
			<wfw:commentRss>http://justaddwatir.com/2008/q-how-do-i-get-to-element-x-in-frame-y/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
