mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Fix some documentation typos
This commit is contained in:
parent
d9511a7090
commit
6be2cd0e7f
2 changed files with 5 additions and 5 deletions
|
@ -19,7 +19,7 @@ module Capybara
|
|||
|
||||
##
|
||||
#
|
||||
# Configure Capybara to suite your needs.
|
||||
# Configure Capybara to suit your needs.
|
||||
#
|
||||
# Capybara.configure do |config|
|
||||
# config.run_server = false
|
||||
|
@ -32,7 +32,7 @@ module Capybara
|
|||
# [app_host = String] The default host to use when giving a relative URL to visit
|
||||
# [run_server = Boolean] Whether to start a Rack server for the given Rack app (Default: true)
|
||||
# [default_selector = :css/:xpath] Methods which take a selector use the given type by default (Default: CSS)
|
||||
# [default_wait_time = Integer] The number of seconds to wait for asynchronour processes to finish (Default: 2)
|
||||
# [default_wait_time = Integer] The number of seconds to wait for asynchronous processes to finish (Default: 2)
|
||||
# [ignore_hidden_elements = Boolean] Whether to ignore hidden elements on the page (Default: false)
|
||||
#
|
||||
# === DSL Options
|
||||
|
|
|
@ -4,8 +4,8 @@ module Capybara
|
|||
|
||||
##
|
||||
#
|
||||
# The Session class represents a single users interaction with the system. The Session can use
|
||||
# any of the unerdlying drivers. A session can be initialized manually like this:
|
||||
# The Session class represents a single user's interaction with the system. The Session can use
|
||||
# any of the underlying drivers. A session can be initialized manually like this:
|
||||
#
|
||||
# session = Capybara::Session.new(:culerity, MyRackApp)
|
||||
#
|
||||
|
@ -150,7 +150,7 @@ module Capybara
|
|||
|
||||
##
|
||||
#
|
||||
# Execute the given block for a particular scope on the page. Within fill find the first
|
||||
# Execute the given block for a particular scope on the page. Within will find the first
|
||||
# element matching the given selector and execute the block scoped to that element:
|
||||
#
|
||||
# within(:xpath, '//div[@id="delivery-address"]') do
|
||||
|
|
Loading…
Reference in a new issue