Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6208125
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T05:45:15+00:00 2026-05-24T05:45:15+00:00

I am running cucumber tests with Webrat in external mode that is using Selenium.

  • 0

I am running cucumber tests with Webrat in external mode that is using Selenium. In production we are running behind https and so we are required to run our cucumber tests on https.

Is there any place we can specify that cucumber, webrat, or selenium needs to be using https? Ideally this could be specified through a parameter that is given to Webrat.

I have seen some stuff that looks like it might be possible if I override the default SeleniumClientDriver that comes bundled under the selenium.rb file.

env.rb =>

Webrat.configure do |config|
    config.mode = :selenium
    config.aplication_address = 'localhost'
    config.aplication_port = 11090
    config.selenium_server_address = 'localhost'
    config.selenium_server_port = 4444
    config.selenium_browser_key = '*iexploreproxy'
    config.application_framework = :external
end

World do
    session = Webrat::SeleniumSession.new
    session.extend(Webrat::Methods)
    session.extend(Webrat::Selenium::Methods)
    session.extend(Webrat::Selenium::Matchers)
    session        
end

Thanks for any help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T05:45:15+00:00Added an answer on May 24, 2026 at 5:45 am

    This apparently is not something that the webrat team has decided to support.

    So a team member changed the source to allow that this can be specified through env.rb properties. The pull request can be found here.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After running bundle update I have suddenly found that my cucumber tests are failing
I'm running some tests with Cucumber/Capybara. I've got one scenario where the user goes
If I'm using cucumber/capybara with a selenium web driver to test, do I need
I am running rails 3.0.0, rspec-rails 2.0.0.beta.20, webrat 0.7.2.beta.1, cucumber-rails 0.3.2 I have this
I am new to Cucumber (using with Rails 2.3.11 and webrat) and I am
For running Cucumber specs with Capybara and Selenium, I need to be able to
I am learning how to write tests with cucumber/webrat. One of my test scenarios
I recently started seeing this error message when trying to run any Cucumber tests.
I'm running what should be a basic BDD demonstration using Cucumber and Aruba on
I have an application with a bunch of cucumber tests, and I tried using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.