title: Cucumber embed for screenshots not linking to screenshot
body: <p>Cross-posted from the Cukes Google Group:</p>
  
  <p>I have experimented with a number of methods of saving screenshots,
  but settled on the method that is built into watir-webdriver.  No
  matter which method I have used, I am not able to successfully embed a
  link to this image in the Cucumber HTML report.</p>
  
  <p>In c:\ruby\cucumber\project_name\features\support\hooks.rb, I'm using:</p>
  
  <pre><code>After do |scenario|
     if scenario.failed?
        @browser.driver.save_screenshot("screenshot.png")
        embed("screenshot.png", "image/png")
     end
  end
  </code></pre>
  
  <p>A link with text "Screenshot" IS added to the report, but the URL is
  the project directory path <code>("c:\ruby\cucumber\project_name")</code> rather
  than a direct link to the file <code>("c:\ruby\cucumber\project_name\screenshot.png")</code>.  I have tried a number of different image formats
  and direct paths using Dir.pwd with the same results each time.</p>
  
  <p>What am I missing?</p>
  
  <p>Thanks</p>
  
  <p>Windows XP
  Ruby 1.8.7
  watir-webdriver (0.2.4)
  cucumber (0.10.3)</p>