<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -9,6 +9,7 @@ package com.yahoo.platform.yui.selenium;
 
 import jargs.gnu.CmdLineParser;
 import java.io.*;
+import java.net.URL;
 import java.util.Date;
 import java.util.Properties;
 
@@ -119,8 +120,13 @@ public class YUITestSeleniumDriver {
             String testFile = (String) parser.getOptionValue(testsOpt);
             if (testFile != null){
                 TestConfig config = new TestConfig();
-                config.load(new FileInputStream(testFile));
 
+                if (testFile.startsWith(&quot;http://&quot;)){  //it's a URL
+                    config.load((new URL(testFile)).openStream());
+                } else { //it's a local file
+                    config.load(new FileInputStream(testFile));
+                }
+                
                 if (verbose){
                     System.err.println(&quot;[INFO] Using tests from &quot; + testFile + &quot;.&quot;);
                 }</diff>
      <filename>selenium-driver/src/com/yahoo/platform/yui/selenium/YUITestSeleniumDriver.java</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4517a932d75c941c7035c32ee594059bb4458115</id>
    </parent>
  </parents>
  <author>
    <name>Nicholas</name>
    <email>nzakas@yahoo-inc.com</email>
  </author>
  <url>http://github.com/nzakas/yuitest/commit/2fa558c596bb468c98b031e38e7a861151e030a8</url>
  <id>2fa558c596bb468c98b031e38e7a861151e030a8</id>
  <committed-date>2009-11-10T17:00:41-08:00</committed-date>
  <authored-date>2009-11-10T17:00:41-08:00</authored-date>
  <message>Added ability to load test XML from a URL</message>
  <tree>f0c7080297697feb903ff9bdfd7cdf8e881f0a76</tree>
  <committer>
    <name>Nicholas</name>
    <email>nzakas@yahoo-inc.com</email>
  </committer>
</commit>
