<?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>Sam Pierson&#039;s Blog &#187; selenium</title>
	<atom:link href="http://sampierson.com/blog/tag/selenium/feed/" rel="self" type="application/rss+xml" />
	<link>http://sampierson.com/blog</link>
	<description>Augmentation of an Imperfect Memory.</description>
	<lastBuildDate>Wed, 21 Jul 2010 01:41:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Selenium-RC and Snow Leopard</title>
		<link>http://sampierson.com/blog/software-development/selenium-rc-and-snow-leopard/</link>
		<comments>http://sampierson.com/blog/software-development/selenium-rc-and-snow-leopard/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 00:47:34 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Software Development]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[selenium]]></category>

		<guid isPermaLink="false">http://sampierson.com/blog/?p=661</guid>
		<description><![CDATA[Selenium-RC was having issues on Snow Leopard:

&#160;
dyld: Library not loaded: /usr/lib/libsqlite3.dylib
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Reason: Incompatible library version: Security requires version 9.0.0 or later, but libsqlite3.dylib provides version 1.0.0

Web searches produced a lot of information including some workarounds that didn&#8217;t.  Finally I read that Selenium-RC 1.x has some hardcoded paths in it that mean it won&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Selenium-RC was having issues on Snow Leopard:</p>

<div class="wp_syntax"><div class="code"><pre class="foo" style="font-family:monospace;">&nbsp;
dyld: Library not loaded: /usr/lib/libsqlite3.dylib
Referenced from: /System/Library/Frameworks/Security.framework/Versions/A/Security
Reason: Incompatible library version: Security requires version 9.0.0 or later, but libsqlite3.dylib provides version 1.0.0</pre></div></div>

<p>Web searches produced a lot of information including some workarounds that didn&#8217;t.  Finally I read that Selenium-RC 1.x has some hardcoded paths in it that mean it won&#8217;t work with Snow Leopard, and you need to get the Selenium-RC 2.x jar (alpha at this time).  The easiest way to do this is to install the <a href="http://gemcutter.org/gems/selenium-rc">selenium-rc gem</a> that <a href="http://github.com/pivotal/selenium-rc">Pivotal packaged</a>.</p>
<p>[Update]</p>
<p>More recently,  have been having issues running Cucumber/Webrat/Selenium on new MacOS systems.  It turns out that Webrat contains an out-of-date version of the selenium server jar file.  If you are using Webrat, you need to copy the good selenium-server.jar from the selenium-rc package over the version contained in the Webrat gem.  Something like:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">&nbsp;
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">cp</span> <span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Ruby<span style="color: #000000; font-weight: bold;">/</span>Gems<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1.8</span><span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>selenium-rc-2.2.1<span style="color: #000000; font-weight: bold;">/</span>vendor<span style="color: #000000; font-weight: bold;">/</span>selenium-server.jar <span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Ruby<span style="color: #000000; font-weight: bold;">/</span>Gems<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1.8</span><span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span>webrat-0.7.0<span style="color: #000000; font-weight: bold;">/</span>vendor<span style="color: #000000; font-weight: bold;">/</span>selenium-server.jar</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://sampierson.com/blog/software-development/selenium-rc-and-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
