<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 18 May 2013 23:38:55 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Matt Frost: Starting with Selenium (and Headless on a VM)]]></title>
      <guid>http://www.phpdeveloper.org/news/18404</guid>
      <link>http://www.phpdeveloper.org/news/18404</link>
      <description><![CDATA[<p>
<i>Matt Frost</i> has posted a two part series of some of his experiences in <a href="http://shortwhitebaldguy.com/blog/2012/08/starting-with-selenium">setting up Selenium</a> to <a href="http://shortwhitebaldguy.com/blog/2012/08/headless-selenium-from-your-vm">execute it in a VM</a> and run tests on your application.
</p>
<blockquote>
I was a little scared when it came to setting up Selenium, I figured it was going to be difficult to setup and configure. So I was pleasantly surprised when it really wasn't. So here are a few of the mistakes I made; since I use Vagrant to do all my development I actually grabbed Selenium and started from there. Not a good place to start, although as I found out later; not a total dead end.
</blockquote>
<p>
He includes <a href="http://shortwhitebaldguy.com/blog/2012/08/starting-with-selenium">the initial setup</a> of things like PHPUnit and the <a href="http://seleniumhq.org/download/">Selenium .jar file</a> as well as a sample test that loads a page and checks the title of the page. His <a href="http://shortwhitebaldguy.com/blog/2012/08/headless-selenium-from-your-vm">second post</a> shows how to set it up in the VM (using Vagrant, <a href="http://en.wikipedia.org/wiki/Xvfb">xvfb</a> to capture the output and Firefox to execute the tests). 
</p>]]></description>
      <pubDate>Mon, 27 Aug 2012 08:16:55 -0500</pubDate>
    </item>
  </channel>
</rss>
