Skip to content

Commit

Permalink
Added server_port to Capybara::Driver::Webkit
Browse files Browse the repository at this point in the history
  • Loading branch information
antramm committed Jul 8, 2011
1 parent 6b7dbca commit 0aab89e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/capybara/driver/webkit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ def render(path, options={})
browser.render path, options[:width], options[:height]
end


def server_port
@rack_server.port
end

private

def url(path)
Expand Down

0 comments on commit 0aab89e

Please sign in to comment.