module Capybara::Screenshot::RSpec::TextMateLinkReporter
Public Instance Methods
attributes_for_screenshot_link(url)
click to toggle source
Calls superclass method
Capybara::Screenshot::RSpec::HtmlLinkReporter#attributes_for_screenshot_link
# File lib/capybara-screenshot/rspec/textmate_link_reporter.rb, line 13 def attributes_for_screenshot_link(url) super.merge("onclick" => "TextMate.system('open #{Shellwords.escape(url)}'); return false;") end