mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Merge pull request #2126 from colorbox/remove-needless-parameter-on-doc
Remove needless parameter[ci skip]
This commit is contained in:
commit
d1e4b4184a
1 changed files with 9 additions and 6 deletions
|
@ -187,10 +187,11 @@ module Capybara
|
|||
#
|
||||
# page.select 'March', from: 'Month'
|
||||
#
|
||||
# @macro waiting_behavior
|
||||
# @overload select(value = nil, from: nil, **options)
|
||||
# @macro waiting_behavior
|
||||
#
|
||||
# @param value [String] Which option to select
|
||||
# @param from [String] The id, Capybara.test_id atrtribute, name or label of the select box
|
||||
# @param value [String] Which option to select
|
||||
# @param from [String] The id, Capybara.test_id atrtribute, name or label of the select box
|
||||
#
|
||||
# @return [Capybara::Node::Element] The option element selected
|
||||
def select(value = nil, from: nil, **options)
|
||||
|
@ -211,10 +212,12 @@ module Capybara
|
|||
#
|
||||
# page.unselect 'March', from: 'Month'
|
||||
#
|
||||
# @macro waiting_behavior
|
||||
# @overload unselect(value = nil, from: nil, **options)
|
||||
# @macro waiting_behavior
|
||||
#
|
||||
# @param value [String] Which option to unselect
|
||||
# @param from [String] The id, Capybara.test_id attribute, name or label of the select box
|
||||
#
|
||||
# @param value [String] Which option to unselect
|
||||
# @param from [String] The id, Capybara.test_id attribute, name or label of the select box
|
||||
#
|
||||
# @return [Capybara::Node::Element] The option element unselected
|
||||
def unselect(value = nil, from: nil, **options)
|
||||
|
|
Loading…
Reference in a new issue