Displaying 1 result from an estimated 1 matches for "delegate_to_sess".
2013 Oct 09
0
getting selenium working with jruby/sinatra/cucumber/webrat on windows
...fig|
# config.mode = :rack
config.mode = :selenium
config.application_port = 4567
config.application_framework = :sinatra
end
class WebratMixinExample
include Rack::Test::Methods
include Webrat::Methods
include Webrat::Matchers
Webrat::Methods.delegate_to_session :response_code, :response_body
def app
# Sinatra::Application
Main
end
end
World{WebratMixinExample.new}
====================================
> When I run cucumber I get
>unrecognized argument &:
Usage: java -jar selenium-server.jar [...