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 990495
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T05:57:19+00:00 2026-05-16T05:57:19+00:00

When I use the Show me the page step, with Capybara / Cucumber, can

  • 0

When I use the “Show me the page” step, with Capybara / Cucumber, can I control where the files get output? I can’t seem to find the config for this, and my google fu is failing me.

Right now it appears that by default they go to the root of my rails folder and clutter up things there.

  • 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-16T05:57:20+00:00Added an answer on May 16, 2026 at 5:57 am

    There is indeed a config option that allows you to specify where to output the files:

    Capybara.save_and_open_page_path

    I believe it was added in the latest version (0.3.9)

    In your env.rb file you can do something like:

    Capybara.save_and_open_page_path = '/Users/jsboulanger/my-rails-project/tmp'
    

    In Capybara 2.10, Capybara::save_and_open_page= is deprecated. Instead, call Capybara::save_path=

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

Sidebar

Related Questions

I need help! I use fancybox and use iframe to show other page but
The following script was recommended to use a List Page to show a Google
I'd like to use a modalpopupextender in my asp.net page to show a sub
Ive done a good deal of searching and so far can't find this already
I'll need to use NVelocity to show a page with some details peculiar like
I want to use show a Loading Image on the click of server side
Use Case Show a photo uploaded by the user in a square box with
I'm trying to use the show and hide to display a different set of
I have created some functional categories that I use to show/hide markup elements. However,
I am trying to use highcharts to show some data over the last 24

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.