Permalink
Cannot retrieve contributors at this time
Switch branches/tags
0.4.1.1_stable
1.0_stable
1.1_stable
2.0_stable
2.2_stable
2_4_delegator_patch
2_4_integer_proc
2.4_stable
2.5_stable
2.6_stable
2.7_stable
2.8_stable
2.9_stable
2.10_stable
2.11_stable
2.12_stable
2.13_stable
2.15_stable
2.16_stable
2.17_stable
2.18_dev
2.18_stable
3.0_dev
3.0_stable
19_xpath
222
1739_cleanup
all-sessions
all_waiting
all_within_proxy
assertions
beta_gemfile
blank_href
bmp
boolean_wait
browser_storage_clearing
button_type
capy3
chrome_contenteditable
chrome_headless_modals
chrome_headless_window
chrome_modals
chrome_options
chrome_60
clarify_modal
class_split
cleanup
cleanup2
click_args
click_modifiers
codeclimate
content_editable_child
cookie_tracking
css_escapes_test
current_path_parse
current_path_query_fix
currently_with
default_prompt_value
default_to_puma
delegator_2_4_test
different_jruby
disabled_fieldset
driver_click_args
dry_matchers
dry_minitest_declarations
dry2
erubi
eval_async
evaluate_async_script
evaluate_async
evaluate_element_result
exact_options_deprecation
exact_warning
execute_script_args
expression_filter_descriptions
expression_filters
expression_options
extra_dummy_frame
ff_headless_pass
ff_headless
ff_pref
ff55_issues
ff58
file_input_css
file_upload_shim
firefox_beta
first_tests
fix-open-alerts
fix-spec-name
fix_ff_headless_Tests
fixed_elements_ff_latest
fixed_elements
flaky
gecko13
gecko_19_1
geckodriver_update
geckodriver_0_16
geckodriver0_16_1
geckodriver19
gh-pages
gumbo
has_all_none_matchers
has_current_path_url
have_link_param_warn
headless_alert_page_change
headless_chrome_2
headless_firefox
headless_modals
headless_test
ie_fixes
ie_gemfile
invalid_element_while_filtering
issue_1918
issue_1921
jruby_allow_failure
jruby_hang
jruby_travis_logging
jruby
jruby9160
jruby9180
keyword_args
label_click
link_no_href
make_file_visible
marionette_multiple_file
marionette_tests
marionette
master
matches_filter_test
metaprogram_minitest
minitest_assertions
minitest
more_cleanup
more_code_cleanup
more_test_timing
named_sessions_readme
negated_compounding
negated_rspec_matchers
nested_element_evaluate_result
nested_modal
new-readme
new_selenium_test
no_content_type
no_timeout
node_attach_file
obsolete_element_inspect
only_set_session
osx_test_update
osx
output_driver_versions
path_idx
plugin
primary_window_fix
primary_window
prompt_escape
puma_config
puma_load
rack_app_warning
rack_test_click_radio_check
rack_test_textarea
rack_update
raise_on_extra_args
refactor
regex_cleanup
remove_allow_nil
reset-with-data-url
reset_style
reset_windows
respond_to_missing
revert-1382-fix_travis_failures
rspec_match_filter
rspec_matcher_session_options
rubocop_spec_cleanup
ruby_versions
ruby_2.3+
ruby_2_5_0
ruby24
selenium_alpha
selenium_clear_proc
selenium_file_load
selenium_options_changes
selenium_storage_clear
selenium_update
selenium_2.46_error
selenium_2.48
selenium_3_7
send_alert_keys
send_keys
server_equals_proc
server_error
session_config_test
session_config
shadow_warning
signal_handler
simple_document
spec_options
sudo_not_required
switch_to_frame
target_visit
test_addition
test_delays
test_file_name
test_reliability
test_updates
testtimeouts
threadsafe_not_beta
title_changes
title_tests
travis_chrome_issues
travis_timing
travis_trusty_update
travis_update_for_2_4_bug
tristate_selector
trusty_container
type_error
unload_refresh
visit_port_inclusion
wait_nil
wait_time_class_method
warn_on_selector_overwrite
warnings
webdrivers
whitespace
window_timing
windows_modals
windows_reset
within_description
within_element
within_frame_args
workaround_refactor
xpath_clean
xpath_cleanup
xpath_gem_moved
xpath_gotcha
xpath_html_removal
xpath_union
Nothing to show
3.0.2
3.0.1
3.0.0
3.0.0.rc2
3.0.0.rc1
2.18.0
2.17.0
2.16.1
2.16.0
2.15.4
2.15.3
2.15.2
2.15.1
2.15.0
2.14.4
2.14.3
2.14.2
2.14.1
2.14.0
2.13.0
2.12.1
2.12.0
2.11.0
2.10.2
2.10.1
2.10.0
2.9.2
2.9.1
2.9.0
2.8.1
2.8.0
2.7.1
2.7.0
2.6.2
2.6.1
2.6.0
2.5.0
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.0
2.2.1
2.2.0
2.2.0.rc1
2.1.0
2.1.0.rc1
2.1.0.beta1
2.0.3
2.0.2
2.0.1
2.0.0
2.0.0.beta4
2.0.0.beta3
2.0.0.beta2
2.0.0.beta1
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.1.0.rc1
1.0.1
1.0.0
1.0.0.rc1
1.0.0.beta1
0.4.1.2
0.4.1.1
0.4.1
0.4.1.rc
0.4.0
0.4.0.rc
0.3.9
0.3.8
0.3.7
0.3.6
0.3.5
0.3.0
0.2.0
0.1.4
0.1.3
0.1.2
0.1.1
Nothing to show
Find file
Copy path
Fetching contributors…

# frozen_string_literal: true | |
require 'capybara/dsl' | |
Capybara.app = Rack::Builder.new do | |
map "/" do | |
run Rails.application | |
end | |
end.to_app | |
Capybara.save_path = Rails.root.join('tmp/capybara') | |
# Override default rack_test driver to respect data-method attributes. | |
Capybara.register_driver :rack_test do |app| | |
Capybara::RackTest::Driver.new(app, respect_data_method: true) | |
end |
Copy lines Copy permalink - View git blame
- Open new issue