Update History.md/documentation [ci skip]

This commit is contained in:
Thomas Walpole 2018-05-09 11:30:36 -07:00
parent 8e2e291ced
commit c5bd9efc17
2 changed files with 4 additions and 3 deletions

View File

@ -5,6 +5,7 @@ Release date: unreleased
* Support for using `select` with text inputs associated with a datalist element
* `type` filter on `:button` selector
* Support for server operating in https mode
# Version 3.0.3
Release date: 2018-04-30

View File

@ -158,8 +158,8 @@ module Capybara
##
#
# If `:from` option is present, `select` finds a select box on the page
# and selects a particular option from it.
# If `:from` option is present, `select` finds a select box, or text input with associated datalist,
# on the page and selects a particular option from it.
# Otherwise it finds an option inside current scope and selects it.
# If the select box is a multiple select, +select+ can be called multiple times to select more than
# one option.
@ -169,7 +169,7 @@ module Capybara
#
# @macro waiting_behavior
#
# @param [String] value Which option to select
# @param [String] value Which option to select
# @option options [String] :from The id, name or label of the select box
#
# @return [Capybara::Node::Element] The option element selected