Skip to content

Instantly share code, notes, and snippets.

View gdinwiddie's full-sized avatar

George Dinwiddie gdinwiddie

View GitHub Profile
@gdinwiddie
gdinwiddie / cuke4.output
Created February 9, 2012 20:44
ant target for running cucumber
cuke4:
[java] Gem::LoadError: Could not find RubyGem cucumber (>= 0)
[java]
[java] report_activate_error at /Users/gdinwiddie/jruby-1.6.2/lib/ruby/site_ruby/1.8/rubygems.rb:861
[java] activate at /Users/gdinwiddie/jruby-1.6.2/lib/ruby/site_ruby/1.8/rubygems.rb:255
[java] gem at /Users/gdinwiddie/jruby-1.6.2/lib/ruby/site_ruby/1.8/rubygems.rb:1215
[java] (root) at /Users/gdinwiddie/jruby-1.6.2/bin/cucumber:18
@gdinwiddie
gdinwiddie / SeleniumBrowserTest.java
Created June 2, 2011 19:12
Selenium2.0rc2 using Google Chrome
package error;
import static org.junit.Assert.assertEquals;
import org.junit.After;
import org.junit.Test;
import com.thoughtworks.selenium.DefaultSelenium;
import com.thoughtworks.selenium.Selenium;
http://www.google.com/search?q=Diana+Larsen&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
GET /search?q=Diana+Larsen&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a HTTP/1.1
Host: www.google.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115